ansible-infra/roles/docker
c6ristian 3139b41433
use the container name as journal tag not id
Docker by default will use the container id as the journal tag when
logging into systemd-journal.
Using the container name makes easier to see which log belongs to which container.
2025-01-21 00:25:13 +01:00
..
files use the container name as journal tag not id 2025-01-21 00:25:13 +01:00
meta move roles, files and templates dirs out of playbook dir into root dir 2024-12-08 02:55:25 +01:00
tasks have the docker role conf. the Docker daemon to log to systemd journal 2025-01-14 23:19:38 +01:00
README.md move roles, files and templates dirs out of playbook dir into root dir 2024-12-08 02:55:25 +01:00

Role docker

Makes sure Docker Engine and other related packages are installed from the Docker repos on the specified hosts. For details see: tasks/main/02_docker_install.yaml.

Supported Distributions

The following distributions are supported:

  • Debian 11

Required Arguments

None.

Updates

This role doesn't handle updates. However it uses the system package manager for installing Docker Engine and the other related packages, so when you're making sure the system packages are up-to-date, you're handling updates for the packages installed by this role as well.

hosts

The hosts for this role need to be the machines for which you want to make sure Docker Engine and other related packages are installed from the Docker repos.