diff --git a/tasks/main.yml b/tasks/main.yml index 7c777de..0ba4202 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -101,6 +101,7 @@ || (echo {{ item.password }}; echo {{ item.password }}) \ | smbpasswd -s -a {{ item.name }} with_items: "{{ samba_users }}" + no_log: true register: create_user_output changed_when: "'Added user' in create_user_output.stdout" tags: samba