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)

ci_complete
This commit is contained in:
Felix Fontein 2022-08-13 12:08:07 +02:00 committed by GitHub
parent a54af8909c
commit 3dcff121c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

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

View file

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