ansible-role-borgbackup/tasks/packages.yml

19 lines
502 B
YAML
Raw Normal View History

2023-04-08 21:07:04 +02:00
---
- name: "Packages | Add backports repository"
2023-04-09 11:48:20 +02:00
ansible.builtin.apt_repository:
repo: "deb {{ apt_base_url }} {{ ansible_distribution_release }}-backports main"
2023-04-09 11:48:20 +02:00
state: present
2023-04-08 21:07:04 +02:00
- name: "Packages | Install borgbackup and borgmatic"
ansible.builtin.apt:
pkg:
- borgbackup
- borgmatic
2023-04-09 11:48:20 +02:00
default_release: "{{ ansible_distribution_release }}-backports"
update_cache: true
- name: "Packages | Install dependencies"
ansible.builtin.apt:
pkg:
- python3-pexpect