test for vpn

This commit is contained in:
Stephen Smoogen 2017-05-01 22:59:41 +00:00
parent dfc851d626
commit 130b22ab72
3 changed files with 3 additions and 3 deletions

View file

@ -155,7 +155,7 @@
#
- name: install nrpe openvpn check config
template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/check_openvpn_link.cfg
when: datacenter != 'phx2'
when: vpn == true
notify:
- restart nrpe
tags:

View file

@ -156,7 +156,7 @@
#
- name: install nrpe openvpn check config
template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/check_openvpn_link.cfg
when: datacenter != 'phx2'
when: vpn == true
notify:
- restart nrpe
tags:

View file

@ -262,7 +262,7 @@
- nagios_server
- name: Template over commands
template: src=nagios/templates/{{item}}.j2 dest=/etc/nagios/commands/{{item}} mode=0644 owner=root group=root
template: src=nagios/templates/commands/{{item}}.j2 dest=/etc/nagios/commands/{{item}} mode=0644 owner=root group=root
with_items:
- postgres.cfg
tags: