Fix the checks on the debian version.

This commit is contained in:
Andrea Dell'Amico 2020-11-06 13:02:34 +01:00
parent e8c6ab5af3
commit 5e89fd4951
1 changed files with 2 additions and 2 deletions

View File

@ -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