ansible-roles/library/centos/roles/firewalld/tasks/disable_firewalld.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' ]