From cb19d38cbf85fb7effb7e5b72688e40a1c92c254 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 4 Mar 2022 13:11:29 -0600 Subject: [PATCH] Revert back to old inventory script for Nagios Because the new script suffers intermittent failures when combined with nb_inventory... I guess --- roles/nagios/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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