apt-repositories: update after adding repository

This commit is contained in:
Jérémy Lecour 2016-12-20 15:59:20 +01:00 committed by Jérémy Lecour
parent 82f9cda228
commit 4e51ee4c7d
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
- name: apt update
apt:
update_cache: yes

View file

@ -7,6 +7,7 @@
force: yes
backup: yes
mode: 0640
notify: apt update
- name: Backports configuration
copy:
@ -15,3 +16,6 @@
force: yes
backup: yes
mode: 0640
notify: apt update
- meta: flush_handlers