A bit more cleanup, perhaps this will actually work.
This commit is contained in:
parent
5ca8240091
commit
9b8cbe9780
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
# Put in place the default sysadmin-main sudoers file.
|
||||
#
|
||||
- name: setup /etc/sudoers.d/sysadmin-main
|
||||
action: copy src="{{ private }}/files/sudo/sysadmin-main" dest=/etc/sudoers.d/ owner=root group=root mode=0600
|
||||
copy: src="{{ private }}/files/sudo/sysadmin-main" dest=/etc/sudoers.d/ owner=root group=root mode=0600
|
||||
when: sudoers-main is not defined
|
||||
tags:
|
||||
- config
|
||||
|
@ -15,7 +15,7 @@
|
|||
# Put in place the default sysadmin-main sudoers file. (nopasswd edition)
|
||||
#
|
||||
- name: setup /etc/sudoers.d/sysadmin-main (nopasswd)
|
||||
action: copy src="{{ private }}/files/sudo/sysadmin-main-nopassword" dest=/etc/sudoers.d/ owner=root group=root mode=0600
|
||||
copy: src="{{ private }}/files/sudo/sysadmin-main-nopasswd" dest=/etc/sudoers.d/ owner=root group=root mode=0600
|
||||
when: sudoers-main == 'nopasswd'
|
||||
tags:
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue