Test for firewalld before configuring with it
This commit is contained in:
@@ -102,6 +102,8 @@
|
||||
- name: 'ensure firewall'
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
- packages["firewalld"] is defined
|
||||
- packages["python3-firewall"] is defined
|
||||
- ensure_apache is defined
|
||||
- ensure_apache.firewall_list is defined
|
||||
- ensure_apache.firewall_list is iterable
|
||||
|
Reference in New Issue
Block a user