mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Install virtualenv
|
- 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
|
- name: Install RH epel
|
||||||
yum: name="epel-release" state=installed
|
yum: name="epel-release" state=installed
|
||||||
|
|||||||
Reference in New Issue
Block a user