CI: Remove 'warn:' that's removed in ansible-core 2.14 (#4434)

* Remove 'warn:' that's removed in ansible-core 2.14.

* Install virtualenv when needed.
This commit is contained in:
Felix Fontein 2022-04-01 22:53:05 +02:00 committed by GitHub
commit 24ca69aa05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 11 deletions

View file

@ -43,6 +43,18 @@
src: httpd_echo.py
dest: "{{ process_file }}"
- name: Install virtualenv
package:
name: virtualenv
state: present
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '8'
- name: Install virtualenv
package:
name: python-virtualenv
state: present
when: ansible_os_family == 'Archlinux'
- name: install dependencies
pip:
name: "{{ item }}"