Change-Id: Ib68bfe59fc1c8da177ed1780876c01029478f1e8
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
docker_SLES_packages:
- 'docker'
+
+docker_Ubuntu_packages:
+ - 'docker.io'
+ - 'docker-compose-v2'
block:
- name: Add upstream docker apt key
ansible.builtin.apt_key:
- url: 'https://download.docker.com/linux/debian/gpg'
+ url: "https://download.docker.com/linux/{{ansible_distribution|lower}}/gpg"
- name: Add upstream docker sources
- when: ansible_distribution == 'Debian'
ansible.builtin.apt_repository:
filename: 'docker'
- repo: "deb https://download.docker.com/linux/debian {{ansible_distribution_release}} stable"
+ repo: "deb https://download.docker.com/linux/{{ansible_distribution|lower}} {{ansible_distribution_release}} stable"
--- /dev/null
+---
+
+# Docker upstream doesn't yet have a repository for Ubuntu noble
+docker_upstream: false