mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-12 15:04:46 -03:30
Rework ignore_errors to report no reds
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
until: "{{ agents.content|length > 0 and
|
||||
agents.content[0] == '{' and
|
||||
agents.content|from_json|length >= groups['kube-node']|length * 2 }}"
|
||||
ignore_errors: true
|
||||
failed_when: false
|
||||
no_log: true
|
||||
|
||||
- debug: var=agents.content|from_json
|
||||
@@ -65,7 +65,7 @@
|
||||
retries: 3
|
||||
delay: "{{ agent_report_interval }}"
|
||||
no_log: true
|
||||
ignore_errors: true
|
||||
failed_when: false
|
||||
when: not agents.content=='{}'
|
||||
|
||||
- debug: var=result.content|from_json
|
||||
|
||||
Reference in New Issue
Block a user