arillso.container.docker role – Configure and manage Docker environment using Ansible
Note
This role is part of the arillso.container collection (version 0.0.7).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install arillso.container
.
To use it in a playbook, specify: arillso.container.docker
.
Entry point main
– Configure and manage Docker environment using Ansible
Synopsis
This spec defines the parameters for configuring Docker and its environment on various distributions using Ansible.
Parameters
Parameter |
Comments |
---|---|
Defines the Docker daemon configuration options. |
|
The root directory of the Docker runtime. Defaults to /var/lib/docker. |
|
Enable debug mode with additional logging. Choices:
|
|
The default runtime to use for running containers. |
|
Default ulimits to set for containers. |
|
Runtime execution options. |
|
Enable experimental features. Choices:
|
|
A list of insecure registries to allow for Docker pull and push operations. |
|
Enables live restore of Docker when true. Choices:
|
|
Defines the log driver to be used by Docker daemon. Default: |
|
The logging level. Valid values are “debug”, “info”, “warn”, “error”, “fatal”. |
|
A list of registry mirrors to use for Docker pull operations. |
|
The storage driver to use. Popular options include overlay2, aufs, and btrfs. |
|
List of systemd units to create for Docker pruning tasks. |
|
The name of the systemd unit. |
|
Generic systemd options for the unit. |
|
Install options for the systemd unit. |
|
Specific options for the systemd service or timer. |
|
The type of the systemd unit, e.g., service or timer. |
|
Specifies the version of Docker to be installed. If omitted, the latest version is installed. Default: |