moved package declaration to variable or installing python and pip
This commit is contained in:
parent
b571f71d9e
commit
d3bea1b6ca
@ -4,13 +4,7 @@
|
|||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: ednxzu.manage_apt_packages
|
name: ednxzu.manage_apt_packages
|
||||||
vars:
|
vars:
|
||||||
manage_apt_packages_list:
|
manage_apt_packages_list: "{{ manage_pip_packages_required_packages }}"
|
||||||
- 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"
|
- name: "Update pip to latest"
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
---
|
---
|
||||||
# vars file for manage_pip_packages
|
# vars file for manage_pip_packages
|
||||||
manage_pip_packages_python3_package_name: python3
|
manage_pip_packages_required_packages:
|
||||||
manage_pip_packages_pip3_package_name: python3-pip
|
- name: python3
|
||||||
|
version: latest
|
||||||
|
state: present
|
||||||
|
- name: python3-pip
|
||||||
|
version: latest
|
||||||
|
state: present
|
||||||
|
Loading…
Reference in New Issue
Block a user