Don't fail when iscsi services are not installed
This commit is contained in:
parent
00d0ee624a
commit
d20118a9c5
@ -12,4 +12,10 @@
|
|||||||
- iscsid.socket
|
- iscsid.socket
|
||||||
- iscsiuio.socket
|
- iscsiuio.socket
|
||||||
- iscsid.service
|
- 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 }}"
|
when: "{{ kolla_enable_ironic | bool }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user