Skip to content

Commit 5893944

Browse files
rootFederico Ressi
authored andcommitted
Don't install virtualenv as user.
1 parent 3281824 commit 5893944

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

  • infrared/common/roles/shade/tasks

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

Lines changed: 3 additions & 6 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,11 @@
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>=39.0.0
35+
- pip>=10.0.1
3536
virtualenv: "{{ shade_path_venv }}"
3637
virtualenv_command: "{{ ansible_env.HOME }}/.local/bin/virtualenv"
37-
with_items:
38-
- setuptools>=39.0.0
39-
- pip>=10.0.1
4038

4139
- name: shade virtualenv deps
4240
pip:
@@ -48,4 +46,3 @@
4846
# see https://projects.engineering.redhat.com/browse/RHOSINFRA-1562
4947
# TODO: unpin shade to avoid other conflicts
5048
virtualenv: "{{ shade_path_venv }}"
51-
virtualenv_command: "{{ ansible_env.HOME }}/.local/bin/virtualenv"

0 commit comments

Comments
 (0)