21 lines
553 B
YAML
21 lines
553 B
YAML
---
|
||
# tasks file for borgmatic
|
||
|
||
- name: Install prerequisites
|
||
ansible.builtin.command:
|
||
argv: "{{ rpm_ostree + drone_runner_exec_prerequisites }}"
|
||
creates: "{{ [creates_path] | product(drone_runner_exec_prerequisites) | map('join') | list }}"
|
||
become: true
|
||
vars:
|
||
rpm_ostree:
|
||
- /usr/bin/rpm-ostree
|
||
- install
|
||
- --allow-inactive
|
||
- --assumeyes
|
||
- --idempotent
|
||
creates_path: /sysroot/ostree/repo/refs/heads/rpmostree/pkg/borgmatic
|
||
notify: Apply installation
|
||
|
||
- name: Flush handlers
|
||
meta: flush_handlers
|