Raise timeout for get netchecker agents

pull/1020/head
Matthew Mosesohn 2017-02-20 17:09:34 +03:00
parent 43e86921e0
commit 19d0159e33
1 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@
run_once: true
delegate_to: "{{groups['kube-master'][0]}}"
register: agents
retries: 6
retries: 18
delay: "{{ agent_report_interval }}"
until: "{{ agents.content|length > 0 and
agents.content[0] == '{' and
@ -71,6 +71,7 @@
failed_when: not result|success
run_once: true
when: not agents.content=='{}'
delegate_to: "{{groups['kube-master'][0]}}"
- debug: msg="Cannot get reports from agents, consider as PASSING"
run_once: true