1
0
Fork 0
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:
George Hunt 2017-09-26 21:34:49 -07:00
parent 3ea42563d1
commit 1ead6e032e

View file

@ -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