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
Branches
Tags v2.3.0
No related merge requests found
Pipeline #176254 failed
...@@ -8,5 +8,6 @@ galaxy_info: ...@@ -8,5 +8,6 @@ galaxy_info:
- name: Ubuntu - name: Ubuntu
versions: versions:
- all - all
dependencies: [] dependencies:
# - elasticsearch - role: geerlingguy.docker
when: gitlab_enable_plantuml
...@@ -2,30 +2,6 @@ ...@@ -2,30 +2,6 @@
- name: Install prerequisites for docker - name: Install prerequisites for docker
ansible.builtin.apt: ansible.builtin.apt:
name: 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 - python3-docker
state: present state: present
update_cache: true update_cache: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment