r/samba-cert: Save firewall configuration

Without making the firewall changes permanent, when a server tries to
renew its certificate after rebooting, it will fail as the ACME server
cannot connect to the HTTP port.
frigate-exporter
Dustin 2024-06-20 19:42:13 -05:00
parent 88c45e22b6
commit 7579429a0d
2 changed files with 4 additions and 0 deletions

View File

@ -3,3 +3,5 @@
name: samba-cert-renew.timer
state: restarted
- name: save firewalld-configuration
command: firewall-cmd --runtime-to-permanent

View File

@ -28,6 +28,8 @@
- 80/tcp
- 5000/tcp
when: host_uses_firewalld|d(true)
notify:
- save firewalld configuration
tags:
- firewalld