mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-08-06 13:47:47 +02:00
run apt-get update before install docker
This commit is contained in:
parent
9e006fffb3
commit
f880903f37
@ -40,4 +40,4 @@ docker_daemon_options: {}
|
|||||||
# proxy env, if defined, env vars https_proxy and http_proxy will be injected.
|
# proxy env, if defined, env vars https_proxy and http_proxy will be injected.
|
||||||
proxy_env:
|
proxy_env:
|
||||||
http_proxy:
|
http_proxy:
|
||||||
https_proxy:
|
https_proxy:
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Ensure apt cache is up-to-date.
|
||||||
|
apt:
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
- name: Ensure old versions of Docker are not installed.
|
- name: Ensure old versions of Docker are not installed.
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
|
Loading…
Reference in New Issue
Block a user