Skip to content
Snippets Groups Projects
Commit 19d0159e authored by Matthew Mosesohn's avatar Matthew Mosesohn
Browse files

Raise timeout for get netchecker agents

parent 43e86921
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
run_once: true run_once: true
delegate_to: "{{groups['kube-master'][0]}}" delegate_to: "{{groups['kube-master'][0]}}"
register: agents register: agents
retries: 6 retries: 18
delay: "{{ agent_report_interval }}" delay: "{{ agent_report_interval }}"
until: "{{ agents.content|length > 0 and until: "{{ agents.content|length > 0 and
agents.content[0] == '{' and agents.content[0] == '{' and
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
failed_when: not result|success failed_when: not result|success
run_once: true run_once: true
when: not agents.content=='{}' when: not agents.content=='{}'
delegate_to: "{{groups['kube-master'][0]}}"
- debug: msg="Cannot get reports from agents, consider as PASSING" - debug: msg="Cannot get reports from agents, consider as PASSING"
run_once: true run_once: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment