nagios_server: Adjust ns01/02 to try and work with nagios external

Also adjust gateway group as ibiblio-gw can't be it's own parent.
Also setup vpn hosts also on external as it needs the hostgroup.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-06-30 17:55:12 -07:00
parent 2290817ace
commit 90c28879f9
3 changed files with 3 additions and 3 deletions

View file

@ -467,6 +467,7 @@
template: src=nagios/hostgroups/{{item}}.j2 dest=/etc/nagios/hostgroups/{{item}} mode=0644 owner=root group=root
with_items:
- all-external.cfg
- vpnclients.cfg
when: nagios_location == "external"
tags:
- nagios_server