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: Ie5073c1b178109b4daa95be7bec50f9648260eb2
This commit is contained in:
Dmitriy Rabotyagov 2020-10-30 17:35:36 +02:00
parent f7ffb6fb9b
commit 2f005e7c49
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@
name: ceph_client
vars:
openstack_service_system_user: "{{ cinder_system_user_name }}"
openstack_service_venv_bin: "{{ cinder_bin }}"
openstack_service_venv_bin: "{{ (cinder_install_method == 'source') | ternary(cinder_bin, '') }}"
when:
- "cinder_services['cinder-volume']['group'] in group_names"
- "cinder_backend_rbd_inuse | bool"