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
parent
88c45e22b6
commit
7579429a0d
|
@ -3,3 +3,5 @@
|
||||||
name: samba-cert-renew.timer
|
name: samba-cert-renew.timer
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
- name: save firewalld-configuration
|
||||||
|
command: firewall-cmd --runtime-to-permanent
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
- 80/tcp
|
- 80/tcp
|
||||||
- 5000/tcp
|
- 5000/tcp
|
||||||
when: host_uses_firewalld|d(true)
|
when: host_uses_firewalld|d(true)
|
||||||
|
notify:
|
||||||
|
- save firewalld configuration
|
||||||
tags:
|
tags:
|
||||||
- firewalld
|
- firewalld
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue