1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #323 from georgejhunt/ansible-ver

ansible package regression [fix for Ubuntu 16.04 LTS]
This commit is contained in:
georgejhunt 2017-09-28 08:56:02 -07:00 committed by GitHub
commit 61367aadbc

View file

@ -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-udevd.service
when: udev_unit.stat.exists is defined and udev_unit.stat.exists