added firewalld support

This commit is contained in:
Sebastien Perreault 2018-11-22 13:05:37 -05:00 committed by Barry van Someren
parent 1e626ea318
commit f83fd0cc95

View File

@ -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