mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-07 21:42:38 +00:00
integration: use venv instead of virtualenv (#82)
virtualenv is deprecated since Python3. We use venv instead.
This commit is contained in:
@@ -3,14 +3,11 @@
|
|||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
virtualenv: "{{ remote_tmp_dir }}/virtualenv"
|
virtualenv: "{{ remote_tmp_dir }}/virtualenv"
|
||||||
virtualenv_command: "{{ ansible_python_interpreter }} -m virtualenv"
|
virtualenv_command: "{{ ansible_python_interpreter }} -m venv"
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
virtualenv_interpreter: "{{ virtualenv }}/bin/python"
|
virtualenv_interpreter: "{{ virtualenv }}/bin/python"
|
||||||
|
|
||||||
- pip:
|
|
||||||
name: virtualenv
|
|
||||||
|
|
||||||
# Test graceful failure for missing kubernetes-validate
|
# Test graceful failure for missing kubernetes-validate
|
||||||
|
|
||||||
- pip:
|
- pip:
|
||||||
|
|||||||
Reference in New Issue
Block a user