ansible-role-borgbackup/tasks/packages.yml
phil 09cf947078 Install jq on all backup hosts
needed for prom exporter
2023-12-02 22:03:01 +01:00

20 lines
527 B
YAML

---
- name: "Packages | Add backports repository"
ansible.builtin.apt_repository:
repo: "deb {{ apt_base_url }} {{ ansible_distribution_release }}-backports main"
state: present
- name: "Packages | Install borgbackup and borgmatic"
ansible.builtin.apt:
pkg:
- borgbackup
- borgmatic
- jq
- rsync
default_release: "{{ ansible_distribution_release }}-backports"
update_cache: true
- name: "Packages | Install dependencies"
ansible.builtin.apt:
pkg:
- python3-pexpect