template the file, not copy
This commit is contained in:
parent
40114f9b6e
commit
12bacc36ec
2 changed files with 2 additions and 2 deletions
|
@ -15,11 +15,11 @@
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: /etc/pam_url.conf - split for staging/phx2/everyone else
|
- name: /etc/pam_url.conf - split for staging/phx2/everyone else
|
||||||
copy: src=$item dest=/etc/pam_url.conf mode=0644
|
template: src=$item dest=/etc/pam_url.conf mode=0644
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- $files/2fa/pam_url.conf.${inventory_hostname}
|
- $files/2fa/pam_url.conf.${inventory_hostname}
|
||||||
- $files/2fa/pam_url.conf.${ansible_domain}
|
- $files/2fa/pam_url.conf.${ansible_domain}
|
||||||
- $files/2fa/pam_url.conf
|
- $files/2fa/pam_url.conf.j2
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue