Fix nrpe templates so they install as .cfg files and not .cfg.j2

This commit is contained in:
Kevin Fenzi 2013-08-23 23:16:04 +00:00
parent 3228299291
commit d2b0a7832a

View file

@ -43,15 +43,15 @@
- config
- name: install nrpe client configs
template: src=$item dest=/etc/nrpe.d/$item
template: src=${item.0} dest=/etc/nrpe.d/${item.1}
with_items:
- check_mirrorlist_cache.cfg.j2
- check_raid.cfg.j2
- check_cron.cfg.j2
- check_disk.cfg.j2
- check_swap.cfg.j2
- check_postfix_queue.cfg.j2
- check_lock.cfg.j2
- [ 'check_mirrorlist_cache.cfg.j2', 'check_mirrorlist_cache.cfg' ]
- [ 'check_raid.cfg.j2', 'check_raid.cfg' ]
- [ 'check_cron.cfg.j2', 'check_cron.cfg' ]
- [ 'check_disk.cfg.j2', 'check_disk.cfg' ]
- [ 'check_swap.cfg.j2', 'check_swap.cfg' ]
- [ 'check_postfix_queue.cfg.j2', 'check_postfix_queue.cfg' ]
- [ 'check_lock.cfg.j2', 'check_lock.cfg' ]
notify:
- restart nrpe
tags: