Do not symlink ceph libraries for distro path

ceph_client role checks length of the `openstack_service_venv_bin` variable
to determine if libraries symlinking into venv should occur. So for
distro path this should be empty string as no symlinking should be done.

Change-Id: I775d882382b06110358879034f735a8c6e73ec93
This commit is contained in:
Dmitriy Rabotyagov 2020-10-30 17:32:54 +02:00
parent 1db1e5a367
commit 3876d57364

View File

@ -136,7 +136,7 @@
name: ceph_client
vars:
openstack_service_system_user: "{{ glance_system_user_name }}"
openstack_service_venv_bin: "{{ glance_bin }}"
openstack_service_venv_bin: "{{ (glance_install_method == 'source') | ternary(glance_bin, '') }}"
when:
- "glance_services['glance-api']['group'] in group_names"
- "'rbd' in ([glance_default_store] + glance_additional_stores)"