And I obviously need to add the new filename suffix
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
e21a25c220
commit
39190faaa1
1 changed files with 3 additions and 3 deletions
|
@ -34,9 +34,9 @@
|
|||
- name: /etc/pam.d/sudo
|
||||
template: src={{ item }} dest=/etc/pam.d/sudo mode=0644
|
||||
with_first_found:
|
||||
- "{{ files }}/2fa/sudo.pam.{{ inventory_hostname }}"
|
||||
- "{{ files }}/2fa/sudo.pam.{{ ansible_domain }}"
|
||||
- "{{ files }}/2fa/sudo.pam"
|
||||
- "{{ files }}/2fa/sudo.pam.{{ inventory_hostname }}.j2"
|
||||
- "{{ files }}/2fa/sudo.pam.{{ ansible_domain }}.j2"
|
||||
- "{{ files }}/2fa/sudo.pam.j2"
|
||||
tags:
|
||||
- config
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue