Move this up a tad
This commit is contained in:
parent
d63857dbc9
commit
5ca8240091
1 changed files with 2 additions and 2 deletions
|
@ -8,17 +8,17 @@
|
|||
#
|
||||
- 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
|
||||
when: sudoers-main is not defined
|
||||
tags:
|
||||
- config
|
||||
when: sudoers-main is not defined
|
||||
#
|
||||
# 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
|
||||
when: sudoers-main == 'nopasswd'
|
||||
tags:
|
||||
- config
|
||||
when: sudoers-main == 'nopasswd'
|
||||
#
|
||||
# This will move a /etc/sudoers.d/ file in place
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue