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:
parent
e2b2669fdc
commit
9b1db346a4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user