Install backports packages

This commit is contained in:
phil 2023-04-09 11:48:20 +02:00
parent 43dbe7c8cb
commit abda9b788c
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,6 @@
--- ---
apt_base_url: http://ftp.de.debian.org/debian/
borg_encryption_passphrase: '' borg_encryption_passphrase: ''
borg_exclude_patterns: [] borg_exclude_patterns: []
borg_one_file_system: true borg_one_file_system: true

View file

@ -1,7 +1,17 @@
--- ---
- name: "Packages | Backport-Repository hinzufügen"
ansible.builtin.apt_repository:
repo: "deb {{ apt_base_url }}/debian {{ ansible_distribution_release }}-backports main"
state: present
- name: "Packages | Install dependencies"
ansible.builtin.apt:
pkg:
- python3-pexpect
- name: "Packages | Install borgbackup and borgmatic" - name: "Packages | Install borgbackup and borgmatic"
ansible.builtin.apt: ansible.builtin.apt:
pkg: pkg:
- borgbackup - borgbackup
- borgmatic - borgmatic
- python3-pexpect default_release: "{{ ansible_distribution_release }}-backports"