From 6fdef4b21ccc67150ca3cfcb3d6c0e765e197157 Mon Sep 17 00:00:00 2001 From: Bert Van Vreckem Date: Thu, 16 Aug 2018 21:14:46 +0200 Subject: [PATCH] Don't print user passwords out to the log (fixes #29) --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) 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