Only use iptables hack on arch
This commit is contained in:
@@ -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)') }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user