Switch virtualenv dep installation from pip to package manager
This commit is contained in:
parent
dd3d04e96a
commit
0b1ad8d490
1 changed files with 6 additions and 1 deletions
|
@ -11,7 +11,12 @@
|
|||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Install virtualenv
|
||||
pip: name=virtualenv state=present
|
||||
yum: name=python-virtualenv state=installed
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Install virtualenv
|
||||
apt: name=python-virtualenv state=installed
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Install RH epel
|
||||
yum: name="epel-release" state=installed
|
||||
|
|
Loading…
Reference in a new issue