1
0
Fork 0
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:
A Holt 2019-07-26 12:17:19 -04:00 committed by GitHub
parent 67e40978ce
commit cc445f640e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: