test for vpn
This commit is contained in:
parent
dfc851d626
commit
130b22ab72
3 changed files with 3 additions and 3 deletions
|
@ -155,7 +155,7 @@
|
||||||
#
|
#
|
||||||
- name: install nrpe openvpn check config
|
- name: install nrpe openvpn check config
|
||||||
template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/check_openvpn_link.cfg
|
template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/check_openvpn_link.cfg
|
||||||
when: datacenter != 'phx2'
|
when: vpn == true
|
||||||
notify:
|
notify:
|
||||||
- restart nrpe
|
- restart nrpe
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -156,7 +156,7 @@
|
||||||
#
|
#
|
||||||
- name: install nrpe openvpn check config
|
- name: install nrpe openvpn check config
|
||||||
template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/check_openvpn_link.cfg
|
template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/check_openvpn_link.cfg
|
||||||
when: datacenter != 'phx2'
|
when: vpn == true
|
||||||
notify:
|
notify:
|
||||||
- restart nrpe
|
- restart nrpe
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -262,7 +262,7 @@
|
||||||
- nagios_server
|
- nagios_server
|
||||||
|
|
||||||
- name: Template over commands
|
- 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:
|
with_items:
|
||||||
- postgres.cfg
|
- postgres.cfg
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue