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
|
||||
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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue