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

dispatcher has a call to alter hostapd.conf

This commit is contained in:
Jerry Vonau 2023-04-18 23:35:43 -05:00
parent f79f4c0f46
commit ff905ef5d8
2 changed files with 8 additions and 6 deletions

View file

@ -36,6 +36,14 @@
- { src: 'hostapd/hostapd.conf.j2', dest: '/etc/hostapd/hostapd.conf.iiab' }
when: can_be_ap
- name: Enable & Restart networkd-dispatcher.service
systemd:
name: networkd-dispatcher
state: restarted
enabled: yes
masked: no
when: systemd_networkd_active
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway with wifi_up_down False
systemd:
name: hostapd

View file

@ -118,9 +118,3 @@
enabled: yes
masked: no
- name: Enable & Restart networkd-dispatcher.service
systemd:
name: networkd-dispatcher
state: restarted
enabled: yes
masked: no