cleanup: drop prometheus-.*ucode, which aren't available in 23.05.3
This commit is contained in:
@@ -28,24 +28,29 @@
|
||||
loop: "{{ packages.ath10k | default([]) }}"
|
||||
notify: "{{ item.notify | default([]) }}"
|
||||
|
||||
- name: Install prometheus-ucode packages
|
||||
opkg:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- prometheus-node-exporter-ucode
|
||||
- prometheus-node-exporter-ucode-wifi
|
||||
- prometheus-node-exporter-ucode-netstat
|
||||
- prometheus-node-exporter-ucode-openwrt
|
||||
notify: Restart prometheus-ucode
|
||||
# - name: Install prometheus-ucode packages
|
||||
# opkg:
|
||||
# name: "{{ item }}"
|
||||
# state: present
|
||||
# loop:
|
||||
# - prometheus-node-exporter-ucode
|
||||
# - prometheus-node-exporter-ucode-wifi
|
||||
# - prometheus-node-exporter-ucode-netstat
|
||||
# - prometheus-node-exporter-ucode-openwrt
|
||||
# notify: Restart prometheus-ucode
|
||||
|
||||
- name: Setup prometheus-ucode properly
|
||||
uci:
|
||||
command: set
|
||||
key: 'prometheus-node-exporter-ucode.main'
|
||||
value:
|
||||
listen_interface: 'lan'
|
||||
notify: Restart prometheus-ucode
|
||||
# - name: Setup prometheus-ucode properly
|
||||
# uci:
|
||||
# command: set
|
||||
# key: 'prometheus-node-exporter-ucode.main'
|
||||
# value:
|
||||
# listen_interface: 'lan'
|
||||
# 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
|
||||
opkg:
|
||||
@@ -55,6 +60,7 @@
|
||||
- prometheus-node-exporter-lua
|
||||
- prometheus-node-exporter-lua-hostapd_stations
|
||||
- prometheus-node-exporter-lua-hostapd_ubus_stations
|
||||
- prometheus-node-exporter-lua-netstat
|
||||
notify: Restart prometheus-lua
|
||||
|
||||
- name: Setup prometheus-lua properly
|
||||
@@ -64,3 +70,8 @@
|
||||
value:
|
||||
listen_interface: 'lan'
|
||||
notify: Restart prometheus-lua
|
||||
|
||||
- name: commit changes to prometheus-node-exporter-lua
|
||||
uci:
|
||||
command: commit
|
||||
key: prometheus-node-exporter-lua
|
||||
|
||||
Reference in New Issue
Block a user