mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
ansible package regression
This commit is contained in:
parent
3ea42563d1
commit
1ead6e032e
1 changed files with 6 additions and 3 deletions
|
@ -18,9 +18,12 @@
|
|||
state=present
|
||||
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
|
||||
systemd: name=systemd-udevd
|
||||
daemon-reload=True
|
||||
state=restarted
|
||||
shell: systemctl daemon-reload
|
||||
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
||||
|
||||
- name: restart so systemd recognizes the changes
|
||||
shell: systemctl restart systemd-udev.service
|
||||
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
||||
|
||||
|
|
Loading…
Reference in a new issue