caddy: Use firewalld
This commit is contained in:
@@ -41,3 +41,14 @@
|
||||
validate: 'caddy validate --config %s --adapter caddyfile'
|
||||
backup: true
|
||||
notify: Reload caddy
|
||||
|
||||
- name: Open ports for caddy
|
||||
ansible.posix.firewalld:
|
||||
service: "{{ item }}"
|
||||
state: enabled
|
||||
permanent: true
|
||||
immediate: true
|
||||
loop:
|
||||
- http
|
||||
- https
|
||||
- http3
|
||||
|
||||
Reference in New Issue
Block a user