From 9b1db346a4b98fd1d8f42db92c33ad7fa19aba8d Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 9 Jan 2017 15:57:49 -0500 Subject: [PATCH] Clean up config task Remove validation, users can do that. Fix a bug with sudo. Change-Id: Ibc1e24a40810de9e2ebbee13b768b80daa02a61f Signed-off-by: Paul Belanger --- tasks/config.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/config.yaml b/tasks/config.yaml index 197749a..b2c4da7 100644 --- a/tasks/config.yaml +++ b/tasks/config.yaml @@ -13,12 +13,10 @@ # under the License. --- - name: Copy sudoers includes into place. + become: yes template: dest: "{{ sudoers_file_includes_dest }}" group: "{{ sudoers_file_includes_group }}" mode: "{{ sudoers_file_includes_mode }}" owner: "{{ sudoers_file_includes_owner }}" src: "{{ sudoers_file_includes_src }}" - -- name: Validate configuration. - shell: "visudo -cf /etc/sudoers"