ansible-role-borgbackup/tasks/packages.yml
phil 093222dd21 Fix deb repository path
Update cache before installing package
2023-04-09 11:56:45 +02:00

19 lines
502 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
default_release: "{{ ansible_distribution_release }}-backports"
update_cache: true
- name: "Packages | Install dependencies"
ansible.builtin.apt:
pkg:
- python3-pexpect