add udev template

This commit is contained in:
vincent 2024-02-26 18:52:10 +01:00
parent 7cda1e26c3
commit aa4fddafa4
4 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
SUBSYSTEM=="usb", ATTR{idVendor}=="{{ nut_manufacturer_id}}", ATTR{idProduct}=="{{ nut_product_id }}", GROUP="nut"

2
tests/inventory Normal file
View File

@ -0,0 +1,2 @@
localhost

4
tests/test.yml Normal file
View File

@ -0,0 +1,4 @@
---
- hosts: all
roles:
- ansible-role-nut

2
vars/main.yml Normal file
View File

@ -0,0 +1,2 @@
---
# vars file for ansible-role-nut