diff --git a/tasks/main.yml b/tasks/main.yml index fdf420c..c857af9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,11 +1,13 @@ - name: Ensure packages are installed become: true + check_mode: no apt: name: - python3-pip - apt-transport-https - ca-certificates - curl + - gnupg - gnupg-agent - software-properties-common state: present @@ -34,6 +36,7 @@ - docker-ce-cli - containerd.io - docker-compose + - docker-compose-plugin update_cache: true state: present 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) }} +}