accesspoints: fix monitoring packages
This commit is contained in:
parent
aa2ea8e896
commit
0fecff8553
|
@ -23,8 +23,29 @@
|
|||
notify:
|
||||
- reload network
|
||||
|
||||
# current os ships with that package and leaks mac addresses into prometheus
|
||||
# therefore we nuke it
|
||||
- name: remove prometheus-node-exporter-lua-hostapd_stations
|
||||
opkg:
|
||||
name: prometheus-node-exporter-lua-hostapd_stations
|
||||
state: absent
|
||||
notify:
|
||||
- restart prometheus-node-exporter-lua
|
||||
|
||||
- name: install prometheus-node-exporter-lua-wifi
|
||||
opkg:
|
||||
name: prometheus-node-exporter-lua-wifi
|
||||
update_cache: yes
|
||||
notify:
|
||||
- restart prometheus-node-exporter-lua
|
||||
|
||||
handlers:
|
||||
- name: reload network
|
||||
service:
|
||||
name: network
|
||||
state: reloaded
|
||||
|
||||
- name: restart prometheus-node-exporter-lua
|
||||
service:
|
||||
name: prometheus-node-exporter-lua
|
||||
state: restarted
|
||||
|
|
Reference in New Issue