diff --git a/roles/nagios/tasks/main.yml b/roles/nagios/tasks/main.yml index 8b61d82..e6dba6c 100644 --- a/roles/nagios/tasks/main.yml +++ b/roles/nagios/tasks/main.yml @@ -33,7 +33,7 @@ - notify-by-matrix tags: [ nagios, template, plugins ] - name: template out config for nagios - template: src=nagios-ansible-inventory.cfg.j2 dest="{{ nagios_data_dir }}/etc/objects/ansible.cfg" owner=root group=root mode=0644 + template: src=nagios-ansible.cfg.j2 dest="{{ nagios_data_dir }}/etc/objects/ansible.cfg" owner=root group=root mode=0644 tags: [ nagios, template ] notify: restart nagios - name: assure config file is loaded