diff --git a/roles/nagios_client/tasks/main.yml b/roles/nagios_client/tasks/main.yml index da56d5ca89..72c565f745 100644 --- a/roles/nagios_client/tasks/main.yml +++ b/roles/nagios_client/tasks/main.yml @@ -67,14 +67,14 @@ # So when adding or modifying them change the .j2 version in git. # - name: install nrpe openvpn check config - template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/{{ item }} + template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/check_openvpn_link.cfg when: datacenter != 'phx2' # # The actual items files here end in .j2 (they are templates) # So when adding or modifying them change the .j2 version in git. # - name: install nrpe unbound check config - template: src=check_unbound_proc.cfg.j2 dest=/etc/nrpe.d/{{ item }} + template: src=check_unbound_proc.cfg.j2 dest=/etc/nrpe.d/check_unbound_proc.cfg when: inventory_hostname.startswith('unbound') - name: nrpe service start