run hash generation in check mode
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user