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: I7395ba58e10d1c0ed57b53fc9c797297d94df6f8
This commit is contained in:
Dmitriy Rabotyagov 2020-10-30 17:37:56 +02:00
parent 4b11fa8b70
commit e8f63f5fb8

View File

@ -235,7 +235,7 @@
name: ceph_client
vars:
openstack_service_system_user: "{{ nova_system_user_name }}"
openstack_service_venv_bin: "{{ nova_bin }}"
openstack_service_venv_bin: "{{ (nova_install_method == 'source') | ternary(nova_bin, '') }}"
when:
- nova_virt_type != 'ironic'
- nova_services['nova-compute']['group'] in group_names