manage_pip_packages/tasks/prerequisites.yml

19 lines
507 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:
- name: "{{ manage_pip_packages_python3_package_name }}"
version: latest
state: present
- name: "{{ manage_pip_packages_pip3_package_name }}"
version: latest
state: present
- name: "Update pip to latest"
ansible.builtin.pip:
name: pip
extra_args: --upgrade