Set up the latest version of Docker Engine in Debian-like systems.
apt-transport-https
(will be installed)ca-certificates
(will be installed)curl
(will be installed)software-properties-common
(will be installed)apparmor
(will be installed)linux-image-extra-virtual
(will be installed, Ubuntu only)cgroup-lite
(will be installed, Ubuntu only)
-
docker_etc_default_binary
[optional]: Customize location of Docker binary (especially for development testing) (e.g./usr/local/bin/docker
) -
docker_etc_default_opts
[optional]: Modify the daemon startup options (e.g.['--dns 8.8.8.8', '--dns 8.8.4.4']
) -
docker_etc_default_http_proxy
[optional]: If you need Docker to use an HTTP proxy, it can (also) be specified here (e.g.http://127.0.0.1:3128/
) -
docker_etc_default_tmpdir
[optional]: This is also a handy place to tweak where Docker's temporary files go (e.g./mnt/bigdrive/docker-tmp
) -
docker_manage_ufw
[default:true
]: Whether or notufw
should be managed (change defaultFORWARD
policy) by this role -
docker_manage_updatedb
[default:true
]: Whether or notupdatedb
should be managed (disable indexing of/var/lib/docker
) by this role
None
-
ansible-updatedb
(see, whendocker_manage_ufw
isfalse
) -
ansible-ufw
(see, whendocker_manage_updatedb
isfalse
) -
ansible-docker-compose
(see) -
ansible-docker-machine
(see)
---
- hosts: all
roles:
- oefenweb.docker
Apache v2.0
Mischa ter Smitten (based on work of angstwad)
Are welcome!