summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-04 14:37:50 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-04 14:37:50 +0100
commit3bce73818e00e58f01d8394194c6850ce2363da6 (patch)
treec9b5162219b87beb02bc2f864fd5dde9c3989db4 /inventory
parentprometheus/node/sensors: fix duplicate type string in promehteus output (diff)
sensor: i2c bus detection using regex for name
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-phoebe.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/inventory/host_vars/ch-phoebe.yml b/inventory/host_vars/ch-phoebe.yml
index 9e90a5f6..99a20b40 100644
--- a/inventory/host_vars/ch-phoebe.yml
+++ b/inventory/host_vars/ch-phoebe.yml
@@ -39,7 +39,7 @@ prometheus_exporter_node_textfile_collector_scripts:
prometheus_exporter_node_textfile_collector__sensors:
i2c:
- - name: "i2c-tiny-usb at bus 001 device 004"
+ - name_regex: "^i2c%-tiny%-usb at bus 001 device %d+$"
devices:
- address: 0x18
type: ds2482