2023-02-17 14:28:38 +01:00
|
|
|
---
|
2023-02-17 15:14:42 +01:00
|
|
|
- name: Install build dependencies
|
|
|
|
ansible.builtin.package:
|
|
|
|
name: "{{ borg_dependent_packages }}"
|
|
|
|
state: present
|
|
|
|
|
2023-02-17 14:28:38 +01:00
|
|
|
- name: Install dependent Python Packages
|
|
|
|
ansible.builtin.pip:
|
|
|
|
name: "{{ borg_dependent_python_packages }}"
|
|
|
|
when: borg_dependent_python_packages is defined
|
|
|
|
|
|
|
|
- name: Install main Python Packages
|
|
|
|
ansible.builtin.pip:
|
|
|
|
name: "{{ item.name }}"
|
|
|
|
version: "{{ item.version | default(omit, true) }}"
|
|
|
|
when: borg_python_packages is defined
|
|
|
|
loop: "{{ borg_python_packages }}"
|