chore: remove unnecessary Docker installation

This commit is contained in:
Peter 2023-01-04 22:00:28 +01:00
parent 7a127649f4
commit 5daeb66a94
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9

View file

@ -1,40 +1,4 @@
---
- name: Install Docker dependencies
ansible.builtin.package:
name:
- ca-certificates
- curl
- gnupg
- lsb-release
state: latest
- name: Add Docker GPG key
ansible.builtin.apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
state: present
keyring: /etc/apt/keyrings/docker.gpg
- name: Add Docker repository
ansible.builtin.apt_repository:
repo: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu jammy stable
state: present
- name: Install Docker
ansible.builtin.package:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-compose-plugin
state: latest
register: install_docker
- name: Restart Docker service
ansible.builtin.service:
name: docker
state: restarted
when: install_docker.changed
- name: Download concourse
ansible.builtin.get_url:
url: https://github.com/concourse/concourse/releases/download/v{{ concourse_version }}/concourse-{{ concourse_version }}-linux-amd64.tgz