Permalink
Switch branches/tags
Nothing to show
Find file Copy path
f458929 Oct 29, 2018
1 contributor

Users who have contributed to this file

24 lines (22 sloc) 1.06 KB
docker_package: docker-ce
docker_distribution: "{{ ansible_distribution | lower }}"
docker_distribution_release: "{{ ansible_lsb.codename | lower }}"
docker_version: "18.06.1"
# https://download.docker.com/linux/
docker_debian_version: "{{ docker_version }}~ce~3-0~{{ docker_distribution }}"
docker_pin_priority: 1000
docker_apt_repository_host: download.docker.com
docker_apt_key_url: 'https://{{ docker_apt_repository_host }}/linux/{{ docker_distribution }}/gpg'
docker_apt_repository_url: 'https://{{ docker_apt_repository_host }}/linux'
# Override default systemd ExecStart
# More info at https://docs.docker.com/engine/admin/systemd/
docker_override_options: false
docker_override_path: /etc/systemd/system/docker.service.d
docker_daemon_options: "-H fd://"
# https://docs.docker.com/engine/reference/commandline/system_prune/
docker_cron_prune: false
# check special_time option
# https://docs.ansible.com/ansible/latest/modules/cron_module.html
docker_cleanup_time: daily
# if you want to prune volumes not used add `--volumes`
docker_cron_prune_cmd: "docker system prune -f"