Fix another loop
This commit is contained in:
parent
a974723992
commit
ee076869ff
1 changed files with 5 additions and 1 deletions
|
@ -16,7 +16,11 @@
|
|||
- 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"
|
||||
- files:
|
||||
- "{{ sudoers }}"
|
||||
- "{{ private }}/files/sudo/{{ ansible_fqdn }}-sudoers"
|
||||
- "{{ private }}/files/sudo/{{ ansible_hostname }}-sudoers"
|
||||
- "{{ private }}/files/sudo/{{ ansible_domain }}-sudoers"
|
||||
skip: true
|
||||
tags:
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue