Fix the checks on the debian version.
This commit is contained in:
parent
e8c6ab5af3
commit
5e89fd4951
|
@ -18,7 +18,7 @@
|
|||
with_items:
|
||||
- rules.v4
|
||||
- rules.v6
|
||||
when: is_debian7
|
||||
when: ansible_distribution_release == "wheezy"
|
||||
register: install_iptables_rules_deb7
|
||||
|
||||
- name: Install the IPv4 and IPv6 iptables rules. The IPv6 ones are not used. On debian 8
|
||||
|
@ -26,7 +26,7 @@
|
|||
with_items:
|
||||
- rules.v4
|
||||
- rules.v6
|
||||
when: is_debian8
|
||||
when: ansible_distribution_release == "jessie"
|
||||
register: install_netfilter_rules
|
||||
|
||||
- name: Install the IPv4 and IPv6 iptables rules. The IPv6 ones are not used. On Ubuntu >= 16.04
|
||||
|
|
Loading…
Reference in New Issue