diff --git a/ansible/group_vars/all/cadvisor b/ansible/group_vars/all/cadvisor new file mode 100644 index 000000000..99074b790 --- /dev/null +++ b/ansible/group_vars/all/cadvisor @@ -0,0 +1,6 @@ +--- +############################################################################### +# cAdvisor configuration. + +# Whether cAdvisor is enabled. +cadvisor_enabled: False diff --git a/ansible/roles/cadvisor/defaults/main.yml b/ansible/roles/cadvisor/defaults/main.yml index c347a76e4..ef15af4c2 100644 --- a/ansible/roles/cadvisor/defaults/main.yml +++ b/ansible/roles/cadvisor/defaults/main.yml @@ -28,4 +28,4 @@ cadvisor_tag: "v0.28.3" cadvisor_image_full: "{{ cadvisor_image }}:{{ cadvisor_tag }}" cadvisor_restart_policy: "unless-stopped" -#nodeexporter_restart_retries: 10 +#cadvisor_restart_retries: 10 diff --git a/etc/kayobe/cadvisor.yml b/etc/kayobe/cadvisor.yml new file mode 100644 index 000000000..25e1db4f9 --- /dev/null +++ b/etc/kayobe/cadvisor.yml @@ -0,0 +1,10 @@ +--- +############################################################################### +# cAdvisor configuration. + +# Whether cAdvisor is enabled. +#cadvisor_enabled: + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes