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

Use geerlingguy.docker to set up Docker

parent fd68806e
Branches
No related tags found
No related merge requests found
Pipeline #129981 failed
......@@ -8,4 +8,8 @@ galaxy_info:
- name: Ubuntu
versions:
- all
dependencies: []
- name: Debian
versions:
- all
dependencies:
- role: geerlingguy.docker
......@@ -8,25 +8,6 @@
- apt-transport-https
- ca-certificates
- name: Install docker key
ansible.builtin.apt_key:
url: "https://download.docker.com/linux/ubuntu/gpg"
state: present
- name: Add Docker CE repo
ansible.builtin.apt_repository:
repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
state: present
- name: Install Docker CE
ansible.builtin.apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io
state: latest # noqa package-latest
update-cache: true
- name: Install Gitlab Runner key
ansible.builtin.apt_key:
url: "https://packages.gitlab.com/runner/gitlab-runner/gpgkey"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment