Skip to content

Commit

Permalink
Upgrade cache before docker init setup
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed May 28, 2020
1 parent e80444e commit f15469a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deployment/docker_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
- hosts: do

tasks:
- name: Update and upgrade apt packages
become: true
apt:
upgrade: yes
update_cache: yes
cache_valid_time: 86400 # One day

- name: Install prerequisites for Docker repository
apt:
name: ['apt-transport-https', 'ca-certificates', 'curl', 'gnupg2', 'software-properties-common']
Expand Down

0 comments on commit f15469a

Please sign in to comment.