Ansible role that deploys cadvisor using docker and docker-compose.
- Debian 9+
- Ubuntu 16.04+ (untested)
- Ansible 2.4+ (on execution host)
- Docker 17+ (on remote host)
See ./defaults/main.yml
for configurable variables and their defaults
---
- name: Example play
hosts: all
roles:
- { role: cadvisor-docker }
---
- name: Example play with some optional vars set
hosts: all
roles:
- { role: cadvisor-docker,
cadvisor_docker_version: v0.28.3,
cadvisor_docker_expose_port: 10000
}
git submodule add https://github.com/teknique/ansible-role-cadvisor-docker.git roles/cadvisor-docker