Do not replace /etc/sudoers. Instead move to a sudoers.d file.
This commit is contained in:
parent
358ee39a19
commit
8a66e61eca
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@
|
|||
when: inventory_hostname.startswith('compose-x86-01')
|
||||
|
||||
- name: sudoers defaults
|
||||
copy: src="{{ private }}/files/sudo/releng-sudoers" dest=/etc/sudoers mode=0440
|
||||
copy: src="{{ private }}/files/sudo/releng-sudoers" dest=/etc/sudoers.d/releng-sudoers mode=0440
|
||||
tags:
|
||||
- configs
|
||||
- name: sudoers for ftpsync
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue