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

10 lines
424 B
YAML
Raw Normal View History

2022-02-07 21:07:07 -06:00
#- 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