Add iptables rule for nrpe monitoring
This commit is contained in:
parent
e3ab9901ae
commit
a0c18f9c25
1 changed files with 13 additions and 0 deletions
|
@ -115,3 +115,16 @@
|
||||||
tags: ['openshift-cluster','ansible-ansible-openshift-ansible']
|
tags: ['openshift-cluster','ansible-ansible-openshift-ansible']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- name: Post-Install setup
|
||||||
|
hosts: os-stg:os
|
||||||
|
tags:
|
||||||
|
- os-post-install
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- /srv/private/ansible/vars.yml
|
||||||
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: enable nrpe for monitoring (noc01)
|
||||||
|
iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=10.5.126.41 state=present jump=ACCEPT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue