ansible-role-linux-firewall/tasks/firewalld_disable.yml

6 lines
228 B
YAML

---
- name: Ensure that the firewalld service is stopped and disabled if we do not want it
service: name=firewalld state=stopped enabled=no
when: not firewalld_enabled | bool
tags: [ 'iptables', 'firewall', 'firewalld' ]