Skip to content

Commit 6628e10

Browse files
authored
Merge pull request #800 from stackhpc/new-virtualenv-command-for-nova-playbooks
Use python3 -m venv for nova playbooks
2 parents 533ee57 + 8e56c09 commit 6628e10

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

etc/kayobe/ansible/nova-compute-disable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- name: Set up openstack cli virtualenv
1212
pip:
1313
virtualenv: "{{ venv }}"
14+
virtualenv_command: "/usr/bin/python3 -m venv"
1415
name:
1516
- python-openstackclient
1617
state: latest

etc/kayobe/ansible/nova-compute-drain.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- name: Set up openstack cli virtualenv
1212
pip:
1313
virtualenv: "{{ venv }}"
14+
virtualenv_command: "/usr/bin/python3 -m venv"
1415
name:
1516
- python-openstackclient
1617
state: latest

etc/kayobe/ansible/nova-compute-enable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- name: Set up openstack cli virtualenv
1212
pip:
1313
virtualenv: "{{ venv }}"
14+
virtualenv_command: "/usr/bin/python3 -m venv"
1415
name:
1516
- python-openstackclient
1617
state: latest

0 commit comments

Comments
 (0)