From e8f63f5fb83dc09eba8b781ca585829e99152143 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Fri, 30 Oct 2020 17:37:56 +0200 Subject: [PATCH] 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 --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 40d11ddd..138df553 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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