This commit is contained in:
2023-06-13 09:34:23 +02:00
parent e30806c2b6
commit fcbe1eed38

View File

@@ -31,3 +31,19 @@
ansible.builtin.debug:
msg: httpd is running
when: httpd_status.state == "started"
- name: Configure firewall
ansible.posix.firewalld:
zone: public
service: http
permanent: true
state: enabled
notify: Firewall reload
handlers:
- name: Firewall reload
ansible.builtin.systemd:
name: firewalld
state: reloaded