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