mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 19:06:39 +08:00
Move this up a tad
This commit is contained in:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user