roles/common: Fix logic in enabling individual calls in firewalld
This commit is contained in:
parent
cb5fe90499
commit
e4c3376383
@ -29,8 +29,8 @@
|
|||||||
when: ansible_distribution_major_version is version_compare('10', '>=')
|
when: ansible_distribution_major_version is version_compare('10', '>=')
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/firewalld/firewalld.conf
|
dest: /etc/firewalld/firewalld.conf
|
||||||
regexp: '^IndividualCalls=yes$'
|
regexp: '^IndividualCalls=no$'
|
||||||
line: 'IndividualCalls=no'
|
line: 'IndividualCalls=yes'
|
||||||
notify:
|
notify:
|
||||||
- restart firewalld
|
- restart firewalld
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user