docker

Ansible Role: Docker Engine

An ansible role that installs docker engine on rhel/centos/fedora and debian/ubuntu.

Ansible Galaxy

Tags:

Variables:

  • docker_version: '' - Set a specific version of Docker Engine, list the available versions in the repo, then select.

example:

docker_version: "18.09.1" # CentOS
docker_version: "5:18.09.1~3-0~debian-stretch" # Debian
docker_version: "3:18.09.1" # Fedora
docker_version: "5:18.09.1~3-0~ubuntu-xenial" # Ubuntu
  • docker_options: '' - Defines options of daemon.json

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 generated using: Ansible-autodoc

About

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

Install
ansible-galaxy install BasisTI/ansible_docker
GitHub repository
License
Unknown
Downloads
168