Only use iptables hack on arch

This commit is contained in:
2021-10-03 11:07:35 +02:00
parent 296f3e9f76
commit 9f4cebde56

View File

@@ -152,6 +152,7 @@
- name: force-update iptables to iptables-nft on arch - name: force-update iptables to iptables-nft on arch
shell: pacman -Q iptables-nft || yes | pacman -S iptables-nft shell: pacman -Q iptables-nft || yes | pacman -S iptables-nft
changed_when: false changed_when: false
when: distro == 'archlinux'
- set_fact: - set_fact:
defined_packages: "{{ packages|json_query('keys(list)') }}" defined_packages: "{{ packages|json_query('keys(list)') }}"