Install, configure and maintain cadvisor
Please see ansible-consul.
See defaults/ for details.
- version to use
- cadvisor binary checksum, you can get it from the release page
- example:
cadvisor_checksum: "sha256:65109ea14132bce91bb2a92dc70248c705ba26fb2a7d55e295bf4192940a396c"
- a map of directories to create
- default:
cadvisor_dir: "/opt/cadvisor"
cadvisor_dirs:
certs:
path: "{{ cadvisor_dir }}/certs"
textfile:
path: "{{ cadvisor_dir }}/textfile"
logs:
path: "/var/log/cadvisor"
- default:
cadvisor_port: 9280
- owner of cadvisor process and files
- default:
cadvisor
- group of
cadvisor_user
- default:
cadvisor
- list of groups to add cadviser user to
- openrc service file
- systemd unit file
- default: see defaults/main.yml
- skip restart/reload - useful when building images with Packer
- default:
false
config
- update cadvisor unit/service
- Anatoly Laskaris - nahsi