mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-09-07 13:32:06 +00:00
refresh apt before installing docker
This commit is contained in:
@@ -43,7 +43,9 @@
|
||||
cache_valid_time: "{{ docker_apt_cache_valid_time }}"
|
||||
|
||||
- name: Install Docker packages
|
||||
ansible.builtin.package:
|
||||
name: "{{ docker_install_packages }}"
|
||||
ansible.builtin.apt:
|
||||
pkg: "{{ item }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
with_items: "{{ docker_install_packages | default([]) }}"
|
||||
notify: Restart Docker
|
||||
|
||||
Reference in New Issue
Block a user