Always update docker requirements to latest versions
This commit is contained in:
parent
d3f65a07fb
commit
948ca7517a
1 changed files with 6 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
- name: Ensure requirements installed
|
- name: Ensure requirements installed
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ requisites }}"
|
name: "{{ requisites }}"
|
||||||
state: present
|
state: latest
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
tags:
|
tags:
|
||||||
- apt
|
- apt
|
||||||
|
|
@ -11,11 +11,14 @@
|
||||||
|
|
||||||
- name: Ensure docker GPG apt key exists
|
- name: Ensure docker GPG apt key exists
|
||||||
apt_key:
|
apt_key:
|
||||||
url: https://download.docker.com/linux/ubuntu/gpg
|
url: "https://download.docker.com/linux/ubuntu/gpg"
|
||||||
state: present
|
state: present
|
||||||
tags:
|
tags:
|
||||||
- apt
|
- apt
|
||||||
- repository
|
- repository
|
||||||
|
# FIXME: Needs a 'until:' defined for the retries to actually work
|
||||||
|
retries: 3
|
||||||
|
delay: 5
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Ensure docker repository exists
|
- name: Ensure docker repository exists
|
||||||
|
|
@ -40,7 +43,7 @@
|
||||||
|
|
||||||
- name: Ensure docker requisites for python installed
|
- name: Ensure docker requisites for python installed
|
||||||
pip:
|
pip:
|
||||||
name:
|
name:
|
||||||
- docker
|
- docker
|
||||||
- jsondiff
|
- jsondiff
|
||||||
- pyyaml
|
- pyyaml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue