ericsysmin.docker.docker role – Ansible role to install and configure Docker
Note
This role is part of the ericsysmin.docker collection (version 1.0.0).
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 ericsysmin.docker
.
To use it in a playbook, specify: ericsysmin.docker.docker
.
Entry point main
– Ansible role to install and configure Docker
Synopsis
Installation of Docker following Docker-Engine install procedures as documented by Docker.
It will manage kernel versions as well, verifying the that the correct kernel for Docker support is installed.
Parameters
Parameter |
Comments |
---|---|
Set CORS headers in the remote API |
|
Authorization plugins to load |
|
Specify network bridge IP |
|
The device name used for the storage driver. |
|
Attach containers to a network bridge |
|
Set parent cgroup for all containers |
|
What release channel of Docker to install. Default: |
|
Address or interface name to advertise |
|
Set cluster store options |
|
Please see dockerd manual for info |
|
Enable debug mode |
|
Container default gateway IPv4 address |
|
Container default gateway IPv6 address |
|
Default OCI runtime for containers |
|
Default ulimits for containers |
|
Disable contacting legacy registries |
|
DNS server to use |
|
DNS options to use |
|
DNS search domains to use |
|
Specifies either ce, or ee edition of Docker. Default: |
|
Docker EE URL from the Docker Store |
|
Docker EE version for EE repository Default: |
|
Runtime execution options |
|
Root directory for execution state files |
|
IPv4 subnet for fixed IPs |
|
IPv6 subnet for fixed IPs |
|
Root of the Docker runtime |
|
Group for the unix socket |
|
Daemon socket(s) to connect to |
|
Set the Docker service to use HTTP_PROXY |
|
Set the Docker service to use HTTPS_PROXY |
|
Enable inter-container communication |
|
Enable insecure registry communication |
|
Default IP when binding container ports |
|
Enable net.ipv4.ip_forward |
|
Enable IP masquerading |
|
Enable addition of iptables rules |
|
Enable IPv6 networking |
|
Set key=value labels to the daemon |
|
Enables keeping containers alive during daemon downtime |
|
Default driver for container logs |
|
Set the logging level |
|
Default log driver options for containers |
|
Set the max concurrent downloads for each pull |
|
Set the max concurrent uploads for each push |
|
The mount options when mounting filesystems |
|
Set the containers network MTU |
|
Do not proxy for Docker service params |
|
Set the oom_score_adj for the daemon |
|
Path to use for daemon PID file |
|
Full timestamps without ANSI coloring |
|
Preferred Docker registry mirror |
|
Defines how Ansible manages the repository Options are Default: |
|
Register an additional OCI compatible runtime |
|
Enable selinux support |
|
Storage driver to use |
|
Storage driver options |
|
Set default address or interface for swarm advertised address |
|
Use TLS; implied by –tlsverify |
|
Trust certs signed only by this CA |
|
Path to TLS certificate file |
|
Path to TLS key file |
|
Use TLS and verify the remote |
|
Use userland proxy for loopback traffic |
|
User/Group setting for user namespaces |
|
A list of system users to be added to the docker group (so they can use Docker on the server) |