cleanup: drop prometheus-.*ucode, which aren't available in 23.05.3

This commit is contained in:
2024-07-08 22:49:02 -04:00
parent 4dc1d44aea
commit fcbb8826cf

View File

@@ -28,24 +28,29 @@
loop: "{{ packages.ath10k | default([]) }}" loop: "{{ packages.ath10k | default([]) }}"
notify: "{{ item.notify | default([]) }}" notify: "{{ item.notify | default([]) }}"
- name: Install prometheus-ucode packages # - name: Install prometheus-ucode packages
opkg: # opkg:
name: "{{ item }}" # name: "{{ item }}"
state: present # state: present
loop: # loop:
- prometheus-node-exporter-ucode # - prometheus-node-exporter-ucode
- prometheus-node-exporter-ucode-wifi # - prometheus-node-exporter-ucode-wifi
- prometheus-node-exporter-ucode-netstat # - prometheus-node-exporter-ucode-netstat
- prometheus-node-exporter-ucode-openwrt # - prometheus-node-exporter-ucode-openwrt
notify: Restart prometheus-ucode # notify: Restart prometheus-ucode
- name: Setup prometheus-ucode properly # - name: Setup prometheus-ucode properly
uci: # uci:
command: set # command: set
key: 'prometheus-node-exporter-ucode.main' # key: 'prometheus-node-exporter-ucode.main'
value: # value:
listen_interface: 'lan' # listen_interface: 'lan'
notify: Restart prometheus-ucode # notify: Restart prometheus-ucode
# - name: commit changes to prometheus-node-exporter-ucode
# uci:
# command: commit
# key: prometheus-node-exporter-ucode
- name: Install prometheus-lua packages - name: Install prometheus-lua packages
opkg: opkg:
@@ -55,6 +60,7 @@
- prometheus-node-exporter-lua - prometheus-node-exporter-lua
- prometheus-node-exporter-lua-hostapd_stations - prometheus-node-exporter-lua-hostapd_stations
- prometheus-node-exporter-lua-hostapd_ubus_stations - prometheus-node-exporter-lua-hostapd_ubus_stations
- prometheus-node-exporter-lua-netstat
notify: Restart prometheus-lua notify: Restart prometheus-lua
- name: Setup prometheus-lua properly - name: Setup prometheus-lua properly
@@ -64,3 +70,8 @@
value: value:
listen_interface: 'lan' listen_interface: 'lan'
notify: Restart prometheus-lua notify: Restart prometheus-lua
- name: commit changes to prometheus-node-exporter-lua
uci:
command: commit
key: prometheus-node-exporter-lua