From 83367c9837e0bcc92f90d73e3e332a07c160e1ae Mon Sep 17 00:00:00 2001 From: dweinholz Date: Mon, 9 Oct 2023 10:41:27 +0200 Subject: [PATCH] fix(Cluster):fixed docker --- cluster/master.site.yml | 1 - cluster/roles/common/tasks/001-apt.yml | 10 ++++++++++ cluster/worker.site.yml | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/cluster/master.site.yml b/cluster/master.site.yml index 8c94947f..08073474 100644 --- a/cluster/master.site.yml +++ b/cluster/master.site.yml @@ -6,7 +6,6 @@ - vars/common_configuration.yml roles: - common - - geerlingguy.docker - master - role: slurm tags: diff --git a/cluster/roles/common/tasks/001-apt.yml b/cluster/roles/common/tasks/001-apt.yml index e1478cbe..628569b4 100644 --- a/cluster/roles/common/tasks/001-apt.yml +++ b/cluster/roles/common/tasks/001-apt.yml @@ -95,6 +95,16 @@ name: swift state: present when: mode == "openstack" + +- name: Add Docker repository key + ansible.builtin.apt_key: + url: 'https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg' + state: present + +- name: Add Docker repository + ansible.builtin.apt_repository: + repo: 'deb https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_lsb.codename}} stable' + state: present - name: Add apt.bi.denbi.de repository key ansible.builtin.apt_key: diff --git a/cluster/worker.site.yml b/cluster/worker.site.yml index ce5682df..8766f140 100644 --- a/cluster/worker.site.yml +++ b/cluster/worker.site.yml @@ -6,7 +6,6 @@ - vars/common_configuration.yml roles: - common - - geerlingguy.docker - worker - role: slurm tags: