feat(kubernetes_role): set ip6tables to legacy mode

!74 fixes #32
This commit is contained in:
2024-07-04 14:41:06 +09:30
parent 5a188407fe
commit f5bba112cf

View File

@ -552,6 +552,14 @@
# ipv6: true
- name: Set IP6Tables to legacy mode
ansible.builtin.command:
cmd: update-alternatives --set iptables /usr/sbin/ip6tables-legacy
changed_when: false
when: >
not nfc_role_kubernetes_cluster_upgraded | default(false) | bool
- name: Set IPTables to legacy mode
ansible.builtin.command:
cmd: update-alternatives --set iptables /usr/sbin/iptables-legacy