Add firewall allow functionality RHEL

This commit is contained in:
2020-10-15 14:23:17 +13:00
parent 9cd948dcdc
commit 829ca8310d
4 changed files with 22 additions and 2 deletions

View File

@@ -8,4 +8,15 @@
- name: cmk fresh install
set_fact:
cmk_fresh_install: True
cmk_fresh_install: True
- name: ensure firewall open
firewalld:
port: 6556/tcp
state: enabled
permanent: yes
immediate: yes
- name: ensure firewall reloaded
command: firewall-cmd --reload
changed_when: false