Rework ignore_errors to report no reds

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
This commit is contained in:
Bogdan Dobrelya
2016-12-27 12:38:54 +01:00
parent be8e5e1fdc
commit 79996b557b
12 changed files with 16 additions and 16 deletions

View File

@@ -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:

View File

@@ -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