1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

rename interfaces.j2 - rebased - edits

This commit is contained in:
Jerry Vonau 2017-09-16 02:07:18 -05:00
parent 78cd58ca8a
commit c326a49de1
3 changed files with 11 additions and 11 deletions

View file

@ -9,16 +9,16 @@
# 4. In lan_controller: wan is off, eth0 and wlan0 under br0
# 5. In gateway: eth0 is wan, and wlan0 is under br0 (only one adapter under br0)
# 6. As a slight concess to auto config, if eth1 exists, make it wan, and force gateway
#- name: In upgrade from earlier IIAB 6.2, delete the resolvconf
# package: name=resolvconf
# state=absent
# enabled=False
# ignore_errors: True
- name: In upgrade from earlier IIAB 6.2, delete the resolvconf
package: name=resolvconf
state=absent
enabled=False
ignore_errors: True
- name: Get the dhcp client daemon used in recent Raspbian
package: name=dhcpcd5
state=present
#- name: Get the dhcp client daemon used in recent raspbian
# package: name=dhcpcd5
# state=present
- name: For upgrades from earlier IIAB 6.2, remove br0 file
file: path=/etc/network/interfaces.d/br0
@ -41,7 +41,7 @@
- name: Copy the bridge script
template: dest=/etc/network/interfaces.d/iiab
src=network/iiab.j2
src=network/systemd.j2
register: interface
when: iiab_lan_iface == "br0" or wan_ip != "dhcp"

View file

@ -39,7 +39,7 @@
- name: Copy the network config script
template: dest=/etc/network/interfaces.d/iiab
src=network/iiab.j2
src=network/systemd.j2
register: interface
when: iiab_lan_iface == "br0" or wan_ip != "dhcp"