fix problem with zoreide iptables
This commit is contained in:
parent
73708d5bdc
commit
8630677457
1 changed files with 8 additions and 11 deletions
|
@ -84,16 +84,13 @@
|
||||||
|
|
||||||
- name: Configure iptables
|
- name: Configure iptables
|
||||||
when:
|
when:
|
||||||
- "zoreide_enabled is true"
|
- 'zoreide_enabled is true'
|
||||||
- "ansible_facts.services['iptables.service'] is defined"
|
- "ansible_facts.services['iptables.service'] is defined"
|
||||||
block:
|
|
||||||
- name: Allow related and established connections
|
|
||||||
ansible.builtin.iptables:
|
ansible.builtin.iptables:
|
||||||
chain: INPUT
|
chain: INPUT
|
||||||
protocol: udp
|
protocol: udp
|
||||||
destination_port: "{{ zoreide_ha_port }}"
|
destination_port: "{{ zoreide_ha_port }}"
|
||||||
ctstate: NEW
|
ctstate: NEW
|
||||||
syn: match
|
|
||||||
jump: ACCEPT
|
jump: ACCEPT
|
||||||
comment: Zoreide HA Port
|
comment: Zoreide HA Port
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue