Fix a conditional.
This commit is contained in:
parent
879ec06002
commit
3f3f0f404b
|
@ -88,4 +88,5 @@
|
|||
- name: Set the firewalld default zone.
|
||||
command: firewall-cmd --set-default-zone={{ firewalld_default_zone }}
|
||||
|
||||
when: firewalld_enabled
|
||||
tags: [ 'iptables', 'firewall', 'firewalld' ]
|
||||
|
|
|
@ -4,10 +4,6 @@
|
|||
- iptables_persistent_enabled
|
||||
- ansible_distribution_file_variety == "Debian"
|
||||
- import_tasks: firewalld_rules.yml
|
||||
when:
|
||||
- firewalld_enabled
|
||||
- ansible_distribution_file_variety == "RedHat"
|
||||
when: ansible_distribution_file_variety == "RedHat"
|
||||
- import_tasks: firewalld_disable.yml
|
||||
when:
|
||||
- firewalld_enabled
|
||||
- ansible_distribution_file_variety == "RedHat"
|
||||
when: ansible_distribution_file_variety == "RedHat"
|
||||
|
|
Loading…
Reference in New Issue