Skip to content

Commit

Permalink
Don't update cache when installing individual packages
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
shenanigansd authored Apr 20, 2024
1 parent e0472cb commit f57f5d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ansible/roles/docker/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
ansible.builtin.apt:
name: aptitude
state: latest
update_cache: true
- name: Install required system packages
ansible.builtin.apt:
pkg: [ca-certificates, curl]
state: latest
update_cache: true
- name: Add Docker GPG apt Key
ansible.builtin.apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
Expand All @@ -21,4 +19,3 @@
ansible.builtin.apt:
name: docker-ce
state: latest
update_cache: true

0 comments on commit f57f5d0

Please sign in to comment.