remove update cache

This commit is contained in:
Antonio J. Delgado 2022-11-19 18:27:09 +02:00
parent 69f6a0fd4c
commit 9c7ddea536

View file

@ -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