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

10 lines
315 B
YAML

---
- import_tasks: plain-iptables.yml
when:
- iptables_persistent_enabled
- ansible_distribution_file_variety == "Debian"
- import_tasks: firewalld_rules.yml
when: ansible_distribution_file_variety == "RedHat"
- import_tasks: firewalld_disable.yml
when: ansible_distribution_file_variety == "RedHat"