diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-01-04 14:37:50 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-01-04 14:37:50 +0100 |
commit | 3bce73818e00e58f01d8394194c6850ce2363da6 (patch) | |
tree | c9b5162219b87beb02bc2f864fd5dde9c3989db4 /inventory/host_vars/ch-phoebe.yml | |
parent | prometheus/node/sensors: fix duplicate type string in promehteus output (diff) |
sensor: i2c bus detection using regex for name
Diffstat (limited to 'inventory/host_vars/ch-phoebe.yml')
-rw-r--r-- | inventory/host_vars/ch-phoebe.yml | 2 |
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 |