Same service setup host python interpreter for LDAP domains

The service setup host python interpreter has been made configurable and
the same needs to be used to setup a Keystone LDAP domain.

Change-Id: Iacaa75b4bb077f25632ec0eecbdf5fd57bb959b2
This commit is contained in:
Marcus Klein 2020-04-02 14:33:54 +02:00
parent ff650e4ef8
commit 32b2042d5f

View File

@ -29,8 +29,7 @@
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']) }}
ansible_python_interpreter: "{{ keystone_service_setup_host_python_interpreter }}"
- name: Create Keystone LDAP domain configs
template: