generated from sebclem/ansible-role-template
Update tasks/preflight.yml
This commit is contained in:
parent
8febbebf87
commit
acae7181ee
@ -1,17 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: Install build dependencies
|
- name: Install Borgbackup package
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ borg_dependent_packages }}"
|
name: "{{ borg_dependent_packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- 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 }}"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user