Use apt module for Docker role

This commit is contained in:
2026-03-03 09:28:27 +01:00
parent edfef64be0
commit 2d11433732

View File

@@ -24,14 +24,15 @@
when: ansible_os_family == 'Debian'
- name: Install Docker from source
ansible.builtin.package:
name:
ansible.builtin.apt:
pkg:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
state: present
force_apt_get: true
update_cache: yes
when: ansible_os_family == 'Debian'