basisconfig.docker

Ansible Role: Docker Engine

This Ansible role installs Docker Engine on Red Hat, CentOS, Fedora, Debian, and Ubuntu systems.

Ansible Galaxy

Tags:

Variables:

  • docker_version: '' - Specify a version of Docker Engine to install. Check the repository for available versions and choose one.

Example:

docker_version: "18.09.1" # For CentOS
docker_version: "5:18.09.1~3-0~debian-stretch" # For Debian
docker_version: "3:18.09.1" # For Fedora
docker_version: "5:18.09.1~3-0~ubuntu-xenial" # For Ubuntu
  • docker_options: '' - Set the options for the daemon.json file.

Example:

docker_options:
   bip: "172.17.0.1/16"
   exec-opts: ["native.cgroupdriver=systemd"]
   log-driver: "json-file"
   log-opts: {"max-size": "100m"}
   storage-driver: "overlay2"
   storage-opts: ["overlay2.override_kernel_check=true"]

License

MIT

Documentation provided by: Ansible-autodoc

Informazioni sul progetto

An Ansible Role that installs Docker Engine on RHEL/CentOS/Fedora and Debian/Ubuntu.

Installa
ansible-galaxy install basisconfig.docker
Licenza
Unknown
Download
180