Installing Docker via Ansible Default Docker Install --- - hosts: all roles: - role: avinetworks.docker Install Docker w/devicemapper --- - hosts: all roles: - role: avinetworks.docker docker_storage_driver: devicemapper docker_block_device: /dev/sda3 Install Docker w/HTTP Proxy Support --- - hosts: all roles: - role: avinetworks.docker docker_http_proxy: http://proxy.example.com:80/ docker_https_proxy: https://proxy.example.com:443/ Install Docker w/HTTP Proxy Support & without proxy on internal sites --- - hosts: all roles: - role: avinetworks.docker docker_http_proxy: http://proxy.example.com:80/ docker_https_proxy: https://proxy.example.com:443/ docker_no_proxy_params: "localhost,127.0.0.0/8,docker-registry.example.com" Install Docker and customize the storage directory of images and containers --- - hosts: all roles: - role: avinetworks.docker docker_graph: /home/docker