Skip to content

l-e-e-o/ansible-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: docker

A simple Ansible role to install Docker.

Configuration options

Variable Default Explanation
docker_edition ce ce for Community Edition or ee for Enterprise Edition
docker_packages - "docker-[ce/ee]"
- "docker-[ce/ee]-cli"

- "containerd.io"
- "docker-buildx-plugin"
- "docker-compose-plugin"
Docker packages to install
docker_log_max_size 10m Sets the docker daemon configuration variable log-opts.max-size in /etc/docker/daemon.json to prevent the accumulation of large amounts of logs consuming storage.
docker_log_max_file 3 Sets the docker daemon configuration variable log-opts.max-file in /etc/docker/daemon.json to prevent the accumulation of large amounts of logs consuming storage.
http_proxy "" Proxy for HTTP
https_proxy "" Proxy for HTTPS
no_proxy "" Proxy exception list

Supported distributions

Currently this role supports the following distributions:

  • Ubuntu
    • 20.04
    • 22.04
    • 22.10
    • 23.04

About

Ansible role for installing Docker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages