Skip to content

Ansible role that deploys cAdvisor using docker and docker-compose

License

Notifications You must be signed in to change notification settings

tekniqueltd/ansible-role-cadvisor-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: cadvisor-cadvisor-docker

Build Status

Ansible role that deploys cadvisor using docker and docker-compose.

Supported Operating Systems

  • Debian 9+
  • Ubuntu 16.04+ (untested)

Requirements

  • Ansible 2.4+ (on execution host)
  • Docker 17+ (on remote host)

Role Variables

See ./defaults/main.yml for configurable variables and their defaults

Example playbook

---
- name: Example play
  hosts: all
  roles:
    - { role: cadvisor-docker }

Example playbook (with some optional vars set)

---
- 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
      }

Add as a submodule to your playbook repo

git submodule add https://github.com/teknique/ansible-role-cadvisor-docker.git roles/cadvisor-docker

About

Ansible role that deploys cAdvisor using docker and docker-compose

Resources

License

Stars

Watchers

Forks

Packages

No packages published