[roles/node-exporter] Remove restart-retries for Docker 17.05.
This commit is contained in:
parent
fd6ed96e39
commit
8f058e66fb
ansible/roles/node-exporter
@ -28,4 +28,4 @@ nodeexporter_tag: "v0.15.0"
|
||||
nodeexporter_image_full: "{{ nodeexporter_image }}:{{ nodeexporter_tag }}"
|
||||
|
||||
nodeexporter_restart_policy: "unless-stopped"
|
||||
nodeexporter_restart_retries: 10
|
||||
#nodeexporter_restart_retries: 10
|
||||
|
@ -8,7 +8,7 @@
|
||||
privileged: "{{ item.value.privileged | default(omit) }}"
|
||||
read_only: "{{ item.value.read_only | default(omit) }}"
|
||||
restart_policy: "{{ nodeexporter_restart_policy }}"
|
||||
restart_retries: "{{ nodeexporter_restart_retries }}"
|
||||
restart_retries: "{{ nodeexporter_restart_retries | default(omit) }}"
|
||||
state: "{{ (item.value.enabled and action != 'destroy') | ternary('started', 'absent') }}"
|
||||
volumes: "{{ item.value.volumes }}"
|
||||
with_dict: "{{ nodeexporter_services }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user