Skip Keystone task when not using swift w keystone
It's possible to remove keystoneauth from the middleware pipeline, but the play will fail because the keystone swift User/roles/perms tasks will not be able to succeed. This patch skips those tasks when not using keystoneauth in the middleware pipeline. Change-Id: I87143b5c220dc312e2cb5d7e3dd3e9e01609ff91 Closes-Bug: #1523581
This commit is contained in:
parent
e142145b0e
commit
5dec08a982
@ -30,8 +30,9 @@
|
||||
- swift-storage-hosts
|
||||
|
||||
- include: swift_service_setup.yml
|
||||
when: >
|
||||
inventory_hostname == groups['swift_all'][0]
|
||||
when:
|
||||
- inventory_hostname == groups['swift_all'][0]
|
||||
- '"keystoneauth" in swift_middleware_list'
|
||||
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
Loading…
x
Reference in New Issue
Block a user