library/roles/iptables/tasks/main.yml: Fix a conditional.
This commit is contained in:
parent
528a01ec4a
commit
a86418946d
|
@ -61,7 +61,7 @@
|
|||
- rules.v4
|
||||
- rules.v6
|
||||
when:
|
||||
- ansible_distribution is 'Ubuntu'
|
||||
- ansible_distribution == 'Ubuntu'
|
||||
- ansible_distribution_major_version >= '16'
|
||||
register: install_netfilter_rules
|
||||
tags: [ 'iptables', 'iptables_rules' ]
|
||||
|
|
Loading…
Reference in New Issue