Notify handler instead of updating apt cache as task

main
Georg Krause 2021-02-09 20:07:35 +01:00
parent 597535a65f
commit 00ca70a4e8
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 3 additions and 3 deletions

View File

@ -20,10 +20,10 @@
apt_repository: apt_repository:
repo: deb https://download.docker.com/linux/debian buster stable repo: deb https://download.docker.com/linux/debian buster stable
state: present state: present
notify: Update apt cache
- name: Update apt cache - name: Flush handlers
apt: meta: flush_handlers
update_cache: yes
- name: Configure docker daemon - name: Configure docker daemon
template: template: