Firewall work
This commit is contained in:
1 parent
abc87e72ff
commit
e3eec4525e
1 file changed
+5
-3
+5
-3
@@ -1,13 +1,15 @@
|
||||
- name: Root port openings and forwards for web traffic.
|
||||
firewalld:
|
||||
port: "80/tcp"
|
||||
port: "{{ port }}"
|
||||
zone: public
|
||||
permanent: true
|
||||
immediate: true
|
||||
state: enabled
|
||||
with_items:
|
||||
- "80"
|
||||
- "443"
|
||||
- "80/tcp"
|
||||
- "443/tcp"
|
||||
loop_control:
|
||||
loop_var: port
|
||||
|
||||
- command:
|
||||
cmd: "firewall-cmd --reload"
|
||||
Reference in new issue
Block a user