Revert back to old inventory script for Nagios

Because the new script suffers intermittent failures when combined with nb_inventory... I guess
This commit is contained in:
Salt 2022-03-04 13:11:29 -06:00
parent e1138ebaad
commit cb19d38cbf

View File

@ -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