Revert "Revert back to old inventory script for Nagios"

This reverts commit cb19d38cbf.
This commit is contained in:
Salt 2022-03-04 21:24:00 -06:00
parent cb19d38cbf
commit 75fc5f2606

View File

@ -33,7 +33,7 @@
- notify-by-matrix
tags: [ nagios, template, plugins ]
- name: template out config for nagios
template: src=nagios-ansible.cfg.j2 dest="{{ nagios_data_dir }}/etc/objects/ansible.cfg" owner=root group=root mode=0644
template: src=nagios-ansible-inventory.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