Fix deb repository path
Update cache before installing package
This commit is contained in:
parent
abda9b788c
commit
093222dd21
1 changed files with 8 additions and 7 deletions
|
@ -1,17 +1,18 @@
|
|||
---
|
||||
- name: "Packages | Backport-Repository hinzufügen"
|
||||
- name: "Packages | Add backports repository"
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb {{ apt_base_url }}/debian {{ ansible_distribution_release }}-backports main"
|
||||
repo: "deb {{ apt_base_url }} {{ ansible_distribution_release }}-backports main"
|
||||
state: present
|
||||
|
||||
- name: "Packages | Install dependencies"
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- python3-pexpect
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue