Always update docker requirements to latest versions

This commit is contained in:
Marty Oehme 2024-04-11 13:05:01 +02:00
parent d3f65a07fb
commit 948ca7517a
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -1,7 +1,7 @@
- name: Ensure requirements installed
ansible.builtin.package:
name: "{{ requisites }}"
state: present
state: latest
update_cache: yes
tags:
- apt
@ -11,11 +11,14 @@
- name: Ensure docker GPG apt key exists
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
url: "https://download.docker.com/linux/ubuntu/gpg"
state: present
tags:
- apt
- repository
# FIXME: Needs a 'until:' defined for the retries to actually work
retries: 3
delay: 5
become: true
- name: Ensure docker repository exists
@ -40,7 +43,7 @@
- name: Ensure docker requisites for python installed
pip:
name:
name:
- docker
- jsondiff
- pyyaml