Skip to content
Snippets Groups Projects
Unverified Commit 76197d9f authored by Mark Goddard's avatar Mark Goddard Committed by GitHub
Browse files

Merge pull request #118 from JohnGarbutt/cadvisor-fix

Fix undefined variable in cadvisor role
parents 78a16237 4d533b07
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,12 @@
docker_container:
image: "{{ item.value.image }}"
name: "{{ item.value.container_name }}"
command: "{{ item.value.command }}"
network_mode: "host"
privileged: "{{ item.value.privileged | default(omit) }}"
published_ports: "{{ item.value.published_ports | default(omit) }}"
read_only: "{{ item.value.read_only | default(omit) }}"
restart_policy: "{{ nodeexporter_restart_policy }}"
restart_retries: "{{ nodeexporter_restart_retries | default(omit) }}"
restart_policy: "{{ cadvisor_restart_policy }}"
restart_retries: "{{ cadvisor_restart_retries | default(omit) }}"
state: "{{ item.value.enabled | ternary('started', 'absent') }}"
volumes: "{{ item.value.volumes }}"
with_dict: "{{ cadvisor_services }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment