releng: Use template instead of copy for purge-amis

Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
This commit is contained in:
Sayan Chowdhury 2018-04-23 19:08:45 +05:30 committed by Sayan Chowdhury
parent d5abfd49d9
commit bdc46138f2
2 changed files with 1 additions and 2 deletions

View file

@ -169,10 +169,9 @@
# put cron job in for purging nightly amis
- name: purge nightly amis cron
copy: src="purge-amis" dest=/etc/cron.d/purge-amis
template: src=purge-amis.j2 dest=/etc/cron.d/purge-amis
when: inventory_hostname.startswith('compose-x86-01')
- name: install compose /etc/httpd/conf.d/compose.conf file
copy: >
src="compose.conf"