Skip to content
Snippets Groups Projects
Verified Commit 3f154343 authored by David Mehren's avatar David Mehren
Browse files

Use geerlingguy.docker role to set up Docker

parent 177ea549
No related branches found
No related tags found
No related merge requests found
Pipeline #176254 failed
......@@ -8,5 +8,6 @@ galaxy_info:
- name: Ubuntu
versions:
- all
dependencies: []
# - elasticsearch
dependencies:
- role: geerlingguy.docker
when: gitlab_enable_plantuml
......@@ -2,30 +2,6 @@
- name: Install prerequisites for docker
ansible.builtin.apt:
name:
- apt-transport-https
- ca-certificates
- curl
- gnupg-agent
- software-properties-common
state: present
update_cache: true
- name: Add docker key
ansible.builtin.apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
state: present
- name: Add docker repo
ansible.builtin.apt_repository:
repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename }} stable"
state: present
- name: Install prerequisites for docker
ansible.builtin.apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- python3-docker
state: present
update_cache: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment