2023-03-15 21:32:18 +00:00
|
|
|
---
|
|
|
|
# task/prerequisites file for manage_pip_packages
|
2023-04-07 22:33:24 +00:00
|
|
|
- name: "Install required roles"
|
|
|
|
ansible.builtin.command:
|
|
|
|
cmd: "ansible-galaxy install {{ item }}"
|
|
|
|
loop: "{{ manage_pip_packages_prerequisites_roles }}"
|
|
|
|
changed_when: false
|
2023-05-28 11:44:40 +00:00
|
|
|
become: false
|
2023-04-07 22:33:24 +00:00
|
|
|
delegate_to: localhost
|
|
|
|
run_once: true
|
|
|
|
|
2023-03-15 21:32:18 +00:00
|
|
|
- name: "Install python3 and pip"
|
|
|
|
ansible.builtin.include_role:
|
|
|
|
name: ednxzu.manage_apt_packages
|
|
|
|
vars:
|
2023-04-06 19:21:22 +00:00
|
|
|
manage_apt_packages_list: "{{ manage_pip_packages_required_packages }}"
|
2023-03-16 21:57:55 +00:00
|
|
|
|
|
|
|
- name: "Update pip to latest"
|
|
|
|
ansible.builtin.pip:
|
|
|
|
name: pip
|
|
|
|
extra_args: --upgrade
|