Download role (#3553)

* codestyle tests

* Download destination can be different than local_release_dir
This commit is contained in:
Antoine Legrand
2018-10-20 13:56:55 +02:00
committed by GitHub
parent 56cafc3fb3
commit 2a3aa591e0
3 changed files with 14 additions and 16 deletions

View File

@@ -67,14 +67,16 @@
delay: "{{ agent_report_interval }}"
no_log: true
failed_when: false
when: not agents.content=='{}'
when:
- agents.content != '{}'
- debug: var=result.content|from_json
failed_when: not result is success
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"
run_once: true
when: agents.content=='{}'
when:
- agents.content == '{}'