mirror of
https://github.com/luzifer-ansible/docker.git
synced 2024-11-08 13:50:10 +00:00
Use cache_valid_time for apt module
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
ec5a9d6198
commit
a50f6dbc72
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
- name: Ensure https transport to be available
|
||||
apt:
|
||||
name: apt-transport-https
|
||||
cache_valid_time: 86400
|
||||
|
||||
- name: Activate apt-repo
|
||||
apt_repository:
|
||||
|
@ -17,7 +18,7 @@
|
|||
- name: Install docker
|
||||
apt:
|
||||
name: docker-ce
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
|
||||
- set_fact:
|
||||
docker_global_ipv6: "{{ ansible_eth0.ipv6 | selectattr('scope', 'equalto', 'global') | first }}"
|
||||
|
|
Loading…
Reference in a new issue