mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update udev.yml
This commit is contained in:
parent
ada1355e12
commit
bed75d8c45
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,12 @@
|
|||
shell: systemctl daemon-reload
|
||||
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
||||
|
||||
# ubuntu 16.04 comes with ansible 2.0.0.2 -- no systemd module
|
||||
- name: Ask systemd to recognize the changes (daemon-reloard)
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
||||
|
||||
- name: Restart so systemd recognizes the changes
|
||||
shell: systemctl restart systemd-udevd.service
|
||||
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
||||
|
|
Loading…
Reference in a new issue