diff --git a/roles/network/tasks/debian.yml b/roles/network/tasks/debian.yml index a8ef6ce9c..859a9a51a 100644 --- a/roles/network/tasks/debian.yml +++ b/roles/network/tasks/debian.yml @@ -10,21 +10,21 @@ # 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 6.2, delete the resolvconf +- 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 +- name: Get the dhcp client daemon used in recent Raspbian package: name=dhcpcd5 state=present -- name: for upgrades from earlier 6.2, remove br0 file +- name: For upgrades from earlier IIAB 6.2, remove br0 file file: path=/etc/network/interfaces.d/br0 state=absent -- name: default to lan controller +- name: Default to LAN Controller set_fact: gui_desired_network_role: "lan_controller" when: not gui_desired_network_role is defined @@ -38,7 +38,7 @@ src=network/iiab.j2 register: interface -- name: start up the dhcpcd service +- name: Start up the dhcpcd service service: name=dhcpcd enabled=True state=started @@ -51,11 +51,11 @@ service: name=bind9 state=stopped when: interface.changed -- name: restart the networking service +- name: Restart the networking service service: name=networking state=restarted when: interface.changed -- name: start up hostapd again +- name: Start up hostapd again service: name=hostapd state=started when: interface.changed