k8s-clusters/ansible/k3s-node/tasks/use-firewalld-with-iptables.yml

10 lines
424 B
YAML

#- name: uninstall nftables, install firewalld, configure it to use iptables, and activate it
# when: ansible_facts.os_family == 'Archlinux'
# become: true
# ansible.builtin.command: >
# pacman -Rs nftables \
# && pacman -Sy firewalld \
# && sed -i 's/FirewallBackend=.*/FirewallBackend=iptables/g' /etc/firewalld/firewalld.conf \
# && systemctl enable firewalld \
# && systemctl restart firewalld