Bertrand Lanson
a8626eb6d2
All checks were successful
test / Linting (push) Successful in 11s
test / Molecule tests (default, debian11) (push) Successful in 1m4s
test / Molecule tests (default, ubuntu2004) (push) Successful in 53s
test / Molecule tests (default, debian12) (push) Successful in 1m21s
test / Molecule tests (default, ubuntu2204) (push) Successful in 49s
test / Molecule tests (with_custom_packages, debian11) (push) Successful in 55s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 53s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 59s
test / Molecule tests (with_custom_packages, ubuntu2004) (push) Successful in 1m35s
13 lines
429 B
YAML
13 lines
429 B
YAML
---
|
|
# task/prerequisites file for manage_pip_packages
|
|
- name: "Install python3 and pip"
|
|
ansible.builtin.include_role:
|
|
name: ednxzu.manage_apt_packages
|
|
vars:
|
|
manage_apt_packages_list: "{{ manage_pip_packages_required_packages }}"
|
|
|
|
- name: "Update pip to latest"
|
|
ansible.builtin.pip:
|
|
name: pip
|
|
extra_args: "--upgrade{% if manage_pip_packages_allow_break_system_packages %} --break-system-packages{% endif %}"
|