Don't print user passwords out to the log (fixes #29)
This commit is contained in:
parent
4e60993bad
commit
6fdef4b21c
@ -101,6 +101,7 @@
|
|||||||
|| (echo {{ item.password }}; echo {{ item.password }}) \
|
|| (echo {{ item.password }}; echo {{ item.password }}) \
|
||||||
| smbpasswd -s -a {{ item.name }}
|
| smbpasswd -s -a {{ item.name }}
|
||||||
with_items: "{{ samba_users }}"
|
with_items: "{{ samba_users }}"
|
||||||
|
no_log: true
|
||||||
register: create_user_output
|
register: create_user_output
|
||||||
changed_when: "'Added user' in create_user_output.stdout"
|
changed_when: "'Added user' in create_user_output.stdout"
|
||||||
tags: samba
|
tags: samba
|
||||||
|
Loading…
Reference in New Issue
Block a user