mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -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 @@
|
||||
CLOUDSDK_CORE_DISABLE_PROMPTS: 1
|
||||
CLOUDSDK_INSTALL_DIR: "{{dir}}"
|
||||
no_log: True
|
||||
ignore_errors: true
|
||||
failed_when: false
|
||||
|
||||
- name: Apply the lifecycle rules
|
||||
command: "{{dir}}/google-cloud-sdk/bin/gsutil lifecycle set {{dir}}/gcs_life.json gs://{{test_name}}"
|
||||
@@ -68,7 +68,7 @@
|
||||
gs_access_key: "{{ gs_key }}"
|
||||
gs_secret_key: "{{ gs_skey }}"
|
||||
expiration: "{{expire_days * 36000|int}}"
|
||||
ignore_errors: true
|
||||
failed_when: false
|
||||
no_log: True
|
||||
|
||||
- debug:
|
||||
|
||||
@@ -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