mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-07-28 13:46:36 +02:00
update cache in role
This commit is contained in:
parent
e5adc9a528
commit
4a7787091f
@ -4,10 +4,6 @@
|
||||
become: true
|
||||
|
||||
pre_tasks:
|
||||
- name: Update apt cache.
|
||||
apt: update_cache=yes cache_valid_time=600
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Wait for systemd to complete initialization. # noqa 303
|
||||
command: systemctl is-system-running
|
||||
register: systemctl_status
|
||||
|
@ -13,6 +13,7 @@
|
||||
- ca-certificates
|
||||
- gnupg2
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
- name: Add Docker apt key.
|
||||
apt_key:
|
||||
|
Loading…
Reference in New Issue
Block a user