mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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
|
state=present
|
||||||
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
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
|
- name: Ask systemd to recognize the changes
|
||||||
systemd: name=systemd-udevd
|
shell: systemctl daemon-reload
|
||||||
daemon-reload=True
|
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
||||||
state=restarted
|
|
||||||
|
- 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
|
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue