accesspoints: only reload wifi on wifi changes

instead of whole networking stack
This commit is contained in:
Gregor Michels 2022-07-03 00:41:01 +02:00
parent 0fecff8553
commit 71eb5ac9f1
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,7 @@
src: templates/aruba-ap-105_wireless.j2
dest: /etc/config/wireless
notify:
- reload network
- reload wifi
# current os ships with that package and leaks mac addresses into prometheus
# therefore we nuke it
@ -45,6 +45,9 @@
name: network
state: reloaded
- name: reload wifi
command: wifi reconf
- name: restart prometheus-node-exporter-lua
service:
name: prometheus-node-exporter-lua