mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Revert #1886, test for Debian 9+
This commit is contained in:
parent
67e40978ce
commit
cc445f640e
1 changed files with 4 additions and 4 deletions
|
@ -49,18 +49,18 @@
|
|||
src: network/rpi.j2
|
||||
when: is_rpi and iiab_lan_iface == "br0"
|
||||
|
||||
- name: Workaround auto issue - ifupdown compatibility mode (debian-9)
|
||||
- name: Workaround auto issue - ifupdown compatibility mode (debian-9+)
|
||||
template:
|
||||
dest: /etc/network/interfaces.d/patch_auto
|
||||
src: network/debian-auto.j2
|
||||
when: iiab_wan_iface != "none" and is_debian_9
|
||||
when: iiab_wan_iface != "none" and is_debian and not is_debian_8
|
||||
|
||||
- name: Clearing out /etc/network/interfaces for static addresses (debian-9)
|
||||
- name: Clearing out /etc/network/interfaces for static addresses (debian-9+)
|
||||
lineinfile:
|
||||
state: absent
|
||||
path: /etc/network/interfaces
|
||||
regexp: "{{ iiab_wan_iface }}"
|
||||
when: wan_ip != "dhcp" and iiab_wan_iface != "none" and is_debian_9
|
||||
when: wan_ip != "dhcp" and iiab_wan_iface != "none" and is_debian and not is_debian_8
|
||||
|
||||
- name: BIND may be affected
|
||||
service:
|
||||
|
|
Loading…
Reference in a new issue