Test for firewalld before configuring with it

This commit is contained in:
2021-10-24 23:07:10 -05:00
parent 8e6874a645
commit 49442dfa6a
2 changed files with 9 additions and 7 deletions

View File

@@ -3,13 +3,13 @@
package_list:
- name: 'httpd'
state: 'present'
# firewall_list:
# - permanent: 'yes'
# service: 'http'
# state: 'enabled'
# - permanent: 'yes'
# service: 'https'
# state: 'enabled'
firewall_list:
- permanent: 'yes'
service: 'http'
state: 'enabled'
- permanent: 'yes'
service: 'https'
state: 'enabled'
seboolean_list:
- name: 'httpd_can_network_connect'
persistent: 'yes'