From 9756a9575c08b788154294ec32cbb3b577c1a7d5 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Wed, 20 Jul 2022 16:46:05 +0200 Subject: [PATCH 1/4] Make sure important packages are also available for check mode --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index fdf420c..27c3350 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,5 +1,6 @@ - name: Ensure packages are installed become: true + check_mode: no apt: name: - python3-pip From b657818cd1fc0dfdb216b1f9c1718834bb55f53d Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Wed, 20 Jul 2022 16:52:48 +0200 Subject: [PATCH 2/4] Make sure gnupg is installed as well --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 27c3350..acb9f22 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,6 +7,7 @@ - apt-transport-https - ca-certificates - curl + - gnupg - gnupg-agent - software-properties-common state: present From 443b73e99cba0eb995a05d5333e317d0469818d1 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Thu, 21 Jul 2022 08:14:01 +0200 Subject: [PATCH 3/4] Install docker-compose-plugin next to docker-compose --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index acb9f22..c857af9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -36,6 +36,7 @@ - docker-ce-cli - containerd.io - docker-compose + - docker-compose-plugin update_cache: true state: present From 565c92f38fdd57041fe16beb2f38272cab6919e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=20Gl=C3=A4=C3=9F-St=C3=B6cker?= Date: Wed, 5 Oct 2022 11:52:16 +0200 Subject: [PATCH 4/4] make experimental docker stuff configurable in this role --- templates/daemon.json.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/daemon.json.j2 b/templates/daemon.json.j2 index ddebedc..8bfd721 100644 --- a/templates/daemon.json.j2 +++ b/templates/daemon.json.j2 @@ -1,3 +1,4 @@ { - "data-root": "{{ docker_root | default('/var/lib/docker') }}" -} \ No newline at end of file + "data-root": "{{ docker_root | default('/var/lib/docker') }}", + "experimental": {{ docker_experimental | default (false) }} +}