Role for Ansible which manages cAdvisor.
You should have Docker already installed and running in the target system in order for this role to work properly. We suggest using our stone-payments.docker role for it.
After, you may use a simple playbook like this:
- name: install cAdvisor
hosts: all
become: true
include_roles:
- name: stone-payments.cadvisor
Trough exposed vars defined in defaults/main.yml
you may change the cAdvisor docker image (eg. to specify another
version or a different source registry) and the port which cAdvisor will listen on.
Just open a PR. We love PRs!
This role is distributed under the MIT license.