run hash generation in check mode

This commit is contained in:
2023-10-25 11:34:39 +02:00
parent 7f0f540ca3
commit 16a4f97564

View File

@@ -49,6 +49,7 @@
ansible.builtin.command: openssl passwd -6 -salt "{{ salt }}" "{{ password }}"
register: username_shadowpw
changed_when: false
check_mode: false
- name: Set password value fact for user {{ username }}
ansible.builtin.set_fact: