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

roles/network/tasks/debian.yml output tweaks

This commit is contained in:
A Holt 2017-11-10 11:33:19 -05:00 committed by GitHub
parent 66c51a7367
commit 340f425456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,19 +57,19 @@
service: name=dnsmasq state=stopped
when: dnsmasq_install
- name: reload systemd
- name: Reload systemd
shell: systemctl daemon-reload
# now pick up denyinterfaces
- name: restart dhcpcd
- name: Restart dhcpcd
service: name=dhcpcd state=restarted
when: dhcpcd_result == "enabled"
- name: restart the networking service
- name: Restart the networking service
service: name=networking state=restarted
when: not nobridge is defined and not no_net_restart
- name: restart hostapd when wifi is present
- name: Restart hostapd when WiFi is present
service: name=hostapd state=restarted
when: iiab_wireless_lan_iface is defined and hostapd_enabled and iiab_network_mode != "Appliance"