1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

More readable Ansible output

This commit is contained in:
A Holt 2017-10-27 12:05:27 -04:00 committed by GitHub
parent 15e8ef565e
commit a5ebc31991
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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