template the file, not copy

This commit is contained in:
Seth Vidal 2013-06-03 21:17:24 +00:00
parent 40114f9b6e
commit 12bacc36ec
2 changed files with 2 additions and 2 deletions

View file

@ -15,11 +15,11 @@
- config
- 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:
- $files/2fa/pam_url.conf.${inventory_hostname}
- $files/2fa/pam_url.conf.${ansible_domain}
- $files/2fa/pam_url.conf
- $files/2fa/pam_url.conf.j2
tags:
- config