Browse Source

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>
changes/11/418111/1
Paul Belanger 5 years ago
parent
commit
9b1db346a4
  1. 4
      tasks/config.yaml

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

Loading…
Cancel
Save