logdetective: revert back to firewalld
This commit is contained in:
parent
3ed2d8e61a
commit
e921a46626
1 changed files with 8 additions and 6 deletions
|
@ -12,6 +12,7 @@
|
||||||
- podman-compose
|
- podman-compose
|
||||||
- wget
|
- wget
|
||||||
- gcc-c++
|
- gcc-c++
|
||||||
|
- firewalld
|
||||||
|
|
||||||
# For some reason, Podman containers cannot reach internet on F41
|
# For some reason, Podman containers cannot reach internet on F41
|
||||||
# It is somehow related to the iptables vs nftables change
|
# It is somehow related to the iptables vs nftables change
|
||||||
|
@ -102,10 +103,11 @@
|
||||||
regexp: '^graphroot = '
|
regexp: '^graphroot = '
|
||||||
line: 'graphroot = "/mnt/srv/containers_storage"'
|
line: 'graphroot = "/mnt/srv/containers_storage"'
|
||||||
|
|
||||||
|
- name: Start firewalld so that we can allow ports more easily
|
||||||
|
systemd: state=started name=firewalld enabled=yes
|
||||||
|
|
||||||
- name: Allow accessing 8080 from the outside
|
- name: Allow accessing 8080 from the outside
|
||||||
ansible.builtin.iptables:
|
ansible.posix.firewalld:
|
||||||
chain: INPUT
|
port: 8080
|
||||||
protocol: tcp
|
permanent: true
|
||||||
destination_ports:
|
state: enabled
|
||||||
- "8080"
|
|
||||||
jump: ACCEPT
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue