2024-08-17 00:31:14 +00:00
|
|
|
---
|
|
|
|
- hosts: 16200915-homepage
|
|
|
|
become: yes
|
|
|
|
become_user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- podman-host
|
2024-08-19 20:49:23 +00:00
|
|
|
- repo-epel
|
2024-08-19 20:45:47 +00:00
|
|
|
- certbot
|
2024-08-21 11:16:26 +00:00
|
|
|
tasks:
|
|
|
|
- name: Root port forwards for web traffic.
|
|
|
|
firewalld:
|
|
|
|
rich_rule: rule family=ipv4 forward-port port=443 protocol=tcp to-port=4443
|
|
|
|
zone: public
|
|
|
|
permanent: true
|
|
|
|
immediate: true
|
|
|
|
state: enabled
|
|
|
|
firewalld:
|
|
|
|
rich_rule: rule family=ipv4 forward-port port=80 protocol=tcp to-port=8080
|
|
|
|
zone: public
|
|
|
|
permanent: true
|
|
|
|
immediate: true
|
|
|
|
state: enabled
|