added update-alternatives for ip6tables
Change-Id: Ia7ceff4f59cb172fe0deb9a9515153cd282384e6
This commit is contained in:
parent
f1b65d2820
commit
7fe111c78d
@ -57,8 +57,11 @@
|
||||
|
||||
- name: Switch to legacy iptables
|
||||
alternatives:
|
||||
name: iptables
|
||||
link: /usr/sbin/iptables
|
||||
path: /usr/sbin/iptables-legacy
|
||||
name: "{{ item }}"
|
||||
link: "/usr/sbin/{{ item }}"
|
||||
path: "/usr/sbin/{{ item }}-legacy"
|
||||
become: true
|
||||
when: ansible_os_family == "Debian"
|
||||
loop:
|
||||
- iptables
|
||||
- ip6tables
|
||||
|
Loading…
Reference in New Issue
Block a user