From 5daeb66a94d942cd2ee76222797590f7152be91f Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Wed, 4 Jan 2023 22:00:28 +0100 Subject: [PATCH] chore: remove unnecessary Docker installation --- k8s/roles/concourse-worker/tasks/main.yml | 36 ----------------------- 1 file changed, 36 deletions(-) diff --git a/k8s/roles/concourse-worker/tasks/main.yml b/k8s/roles/concourse-worker/tasks/main.yml index dee05ae..c7cf75a 100644 --- a/k8s/roles/concourse-worker/tasks/main.yml +++ b/k8s/roles/concourse-worker/tasks/main.yml @@ -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