Skip to content

Commit df06cc7

Browse files
author
scrungus
committed
separate venv for different sdk / openstackclient versions
1 parent 7b269c9 commit df06cc7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ansible/group_vars/all/venv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
---
22
# Path to create virtualenv in which to install python dependencies.
33
openstack_venv: "{{ ansible_env.PWD }}/openstack-config-venv"
4+
# Separate venv for roles that require sdk>=1.0 in case it breaks anything
5+
openstack_sdk_1_0_venv: "{{ ansible_env.PWD }}/openstack-1.0-venv"

ansible/openstack-container-clusters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- container-clusters-templates
66
roles:
77
- role: stackhpc.os-container-clusters
8-
os_container_clusters_venv: "{{ openstack_venv }}"
8+
os_container_clusters_venv: "{{ openstack_sdk_1_0_venv }}"
99
os_container_clusters_auth_type: "{{ openstack_auth_type }}"
1010
os_container_clusters_auth: "{{ openstack_auth }}"
1111
os_container_clusters_cacert: "{{ openstack_cacert }}"

ansible/openstack-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- images
66
roles:
77
- role: stackhpc.os-images
8-
os_images_venv: "{{ ansible_env.PWD }}/openstack-images-venv"
8+
os_images_venv: "{{ openstack_sdk_1_0_venv }}"
99
os_images_cache: "{{ ansible_env.PWD }}/openstack-config-image-cache"
1010
os_images_auth_type: "{{ openstack_auth_type }}"
1111
os_images_auth: "{{ openstack_auth }}"

0 commit comments

Comments
 (0)