added firewalld support
This commit is contained in:
parent
1e626ea318
commit
f83fd0cc95
|
@ -12,6 +12,13 @@
|
||||||
register: systemd
|
register: systemd
|
||||||
when: cockpit_disable_tls
|
when: cockpit_disable_tls
|
||||||
|
|
||||||
|
- name: enable firewall
|
||||||
|
firewalld:
|
||||||
|
service: cockpit
|
||||||
|
permanent: true
|
||||||
|
immediate: true
|
||||||
|
state: enabled
|
||||||
|
|
||||||
- name: reload systemd if unit file changed
|
- name: reload systemd if unit file changed
|
||||||
command: systemctl daemon-reload
|
command: systemctl daemon-reload
|
||||||
when: systemd.changed
|
when: systemd.changed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user