Merge "Ensure that LDAP config is deployed on all keystone hosts"

This commit is contained in:
Zuul 2018-12-11 16:11:47 +00:00 committed by Gerrit Code Review
commit 10855c374f
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,8 @@
delay: 10
with_dict: "{{ keystone_ldap }}"
delegate_to: "{{ keystone_service_setup_host }}"
when:
- "inventory_hostname == ((groups['keystone_all'] | intersect(ansible_play_hosts)) | list)[-1]"
vars:
ansible_python_interpreter: >-
{{ (keystone_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable']) }}

View File

@ -142,7 +142,6 @@
- include_tasks: keystone_ldap_setup.yml
when:
- "inventory_hostname == ((groups['keystone_all'] | intersect(ansible_play_hosts)) | list)[-1]"
- "keystone_service_setup | bool"
tags:
- keystone-config