remove update cache
This commit is contained in:
parent
69f6a0fd4c
commit
9c7ddea536
1 changed files with 1 additions and 6 deletions
|
@ -19,6 +19,7 @@
|
|||
become: true
|
||||
with_items:
|
||||
- { repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable" }
|
||||
update_cache: true
|
||||
when: docker_command == 'docker'
|
||||
|
||||
- name: Ensure keyring folder for apt exists
|
||||
|
@ -39,9 +40,3 @@
|
|||
when:
|
||||
- docker_command == 'podman'
|
||||
- ansible_distribution_version|int < 20.10
|
||||
|
||||
- name: Run apt update
|
||||
apt:
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue