[FIX] apt state latest only after adding custom apt repo

This commit is contained in:
Jannik Beyerstedt 2019-10-27 11:40:03 +01:00
parent 2122e7f4eb
commit 7ddcfaee9b
7 changed files with 9 additions and 11 deletions

View file

@ -10,9 +10,7 @@
become: yes
apt:
name: borgbackup
state: latest
update_cache: yes
cache_valid_time: 3600
state: present
when:
- borgbackup_host is defined
- borgbackup_sub is defined