MNAIO: Only run systemd daemon_reload when necessary
When the VM's are Ubuntu Trusty, this task causes total failure. We should only try and do the daemon_reload if the system being used supports it. Change-Id: I557856045a7735c8f351df6350f777caae526b10
This commit is contained in:
parent
4e9c1c5fd8
commit
868a559840
@ -339,7 +339,8 @@
|
|||||||
systemd:
|
systemd:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
when:
|
when:
|
||||||
- (_remove_mounts is changed) or (_remove_lvs is changed)
|
- "ansible_service_mgr == 'systemd'"
|
||||||
|
- "(_remove_mounts is changed) or (_remove_lvs is changed)"
|
||||||
|
|
||||||
|
|
||||||
- name: Setup cinder host volume
|
- name: Setup cinder host volume
|
||||||
|
Loading…
x
Reference in New Issue
Block a user