Skip to content

Commit 77f914b

Browse files
author
root
committed
Don't install virtualenv as user.
1 parent f652e88 commit 77f914b

File tree

1 file changed

+3
-7
lines changed
  • infrared/common/roles/shade/tasks

1 file changed

+3
-7
lines changed

infrared/common/roles/shade/tasks/main.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
pip:
1919
name: virtualenv
2020
state: forcereinstall
21-
extra_args: --user
2221

2322
# required to avoid any conflicts in venv with
2423
# different packages versions (especially shade)
@@ -31,12 +30,10 @@
3130
# do not use shimming for these two special packages
3231
- name: shade virtualenv core deps
3332
pip:
34-
name: "{{ item }}"
33+
name:
34+
- setuptools==17.0
35+
- pip==9.0.1
3536
virtualenv: "{{ shade_path_venv }}"
36-
virtualenv_command: "{{ ansible_env.HOME }}/.local/bin/virtualenv"
37-
with_items:
38-
- setuptools==17.0
39-
- pip==9.0.1
4037

4138
- name: shade virtualenv deps
4239
pip:
@@ -48,4 +45,3 @@
4845
# see https://projects.engineering.redhat.com/browse/RHOSINFRA-1562
4946
# TODO: unpin shade to avoid other conflicts
5047
virtualenv: "{{ shade_path_venv }}"
51-
virtualenv_command: "{{ ansible_env.HOME }}/.local/bin/virtualenv"

0 commit comments

Comments
 (0)