udev: Add dummy role to support reloading rules
This commit is contained in:
parent
e1604ce193
commit
470010aa0a
1 changed files with 14 additions and 0 deletions
14
roles/udev/handlers/main.yml
Normal file
14
roles/udev/handlers/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: Reload udev rules
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- udevadm
|
||||
- control
|
||||
- --reload-rules
|
||||
notify: Trigger udev rules
|
||||
|
||||
- name: Trigger udev rules
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- udevadm
|
||||
- trigger
|
Loading…
Add table
Reference in a new issue