1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Try to install virtualenv via pip on Arch. (#5116) (#5118)

ci_complete

(cherry picked from commit 3dcff121c4)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-08-13 12:50:41 +02:00 committed by GitHub
parent e4eead189b
commit efcaf57da8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -8,15 +8,15 @@
suffix: .django_manage
register: tmp_django_root
- name: Install virtualenv
- name: Install virtualenv on CentOS 8
package:
name: virtualenv
state: present
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '8'
- name: Install virtualenv
package:
name: python-virtualenv
- name: Install virtualenv on Arch Linux
pip:
name: virtualenv
state: present
when: ansible_os_family == 'Archlinux'

View file

@ -46,15 +46,15 @@
src: httpd_echo.py
dest: "{{ process_file }}"
- name: Install virtualenv
- name: Install virtualenv on CentOS 8
package:
name: virtualenv
state: present
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '8'
- name: Install virtualenv
package:
name: python-virtualenv
- name: Install virtualenv on Arch Linux
pip:
name: virtualenv
state: present
when: ansible_os_family == 'Archlinux'