Fix nrpe templates so they install as .cfg files and not .cfg.j2
This commit is contained in:
parent
3228299291
commit
d2b0a7832a
1 changed files with 8 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue