Try avoiding '.' in sudoers file
This commit is contained in:
parent
fbc57d8fb4
commit
4e4b955307
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@
|
|||
# This will move a /etc/sudoers.d/ file in place
|
||||
#
|
||||
- name: setup /etc/sudoers.d/sudoer file for client use
|
||||
action: copy src={{ item }} dest=/etc/sudoers.d/ owner=root group=root mode=0600
|
||||
action: copy src={{ item }} dest=/etc/sudoers.d/{{ item |replace('.', '_') }}
|
||||
owner=root group=root mode=0600
|
||||
with_first_found:
|
||||
- files:
|
||||
- "{{ sudoers }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue