Clean up config task

Remove validation, users can do that.  Fix a bug with sudo.

Change-Id: Ibc1e24a40810de9e2ebbee13b768b80daa02a61f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-01-09 15:57:49 -05:00
parent e2b2669fdc
commit 9b1db346a4
1 changed files with 1 additions and 3 deletions

View File

@ -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"