mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Switch virtualenv dep installation from pip to package manager
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user