Don't fail when iscsi services are not installed

This commit is contained in:
Mark Goddard 2017-08-07 20:04:11 +00:00
parent 00d0ee624a
commit d20118a9c5

View File

@ -12,4 +12,10 @@
- iscsid.socket
- iscsiuio.socket
- iscsid.service
register: result
failed_when:
- result|failed
# If a service is not installed, the ansible service module will fail
# with this error message.
- '"Could not find the requested service" not in result.msg'
when: "{{ kolla_enable_ironic | bool }}"