Skip to content

Commit

Permalink
Don't install virtualenv as user.
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 7, 2018
1 parent f652e88 commit 77f914b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions infrared/common/roles/shade/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
pip:
name: virtualenv
state: forcereinstall
extra_args: --user

# required to avoid any conflicts in venv with
# different packages versions (especially shade)
Expand All @@ -31,12 +30,10 @@
# do not use shimming for these two special packages
- name: shade virtualenv core deps
pip:
name: "{{ item }}"
name:
- setuptools==17.0
- pip==9.0.1
virtualenv: "{{ shade_path_venv }}"
virtualenv_command: "{{ ansible_env.HOME }}/.local/bin/virtualenv"
with_items:
- setuptools==17.0
- pip==9.0.1

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

0 comments on commit 77f914b

Please sign in to comment.