accesspoints: only reload wifi on wifi changes
instead of whole networking stack
This commit is contained in:
parent
0fecff8553
commit
71eb5ac9f1
|
@ -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
|
||||
|
|
Reference in New Issue