another syntax
This commit is contained in:
parent
dbee355ec7
commit
e2e3c71bfb
1 changed files with 2 additions and 6 deletions
|
@ -16,11 +16,7 @@
|
|||
- name: setup /etc/sudoers.d/sudoer file for client use
|
||||
action: copy src=$item dest=/etc/sudoers.d/ owner=root group=root mode=0600
|
||||
with_first_found:
|
||||
- files:
|
||||
- $sudoers
|
||||
- $private/files/sudo/${ansible_fqdn}-sudoers
|
||||
- $private/files/sudo/${ansible_hostname}-sudoers
|
||||
- $private/files/sudo/${ansible_domain}-sudoers
|
||||
- skip: false
|
||||
- files: $sudoers $private/files/sudo/${ansible_fqdn}-sudoers $private/files/sudo/${ansible_hostname}-sudoers $private/files/sudo/${ansible_domain}-sudoers
|
||||
# - skip: false
|
||||
tags:
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue