blob: ed56c26049ed428f37f052b47b25e661cf45b405 [file] [log] [blame]
---
# tasks file for apigee-opdk-setup-component
- block:
- name: Use no proxy definitions
include: no_proxy.yml
when: opdk_version | version_compare('4.16', '>=') and http_proxy is not defined and https_proxy is not defined
- name: Use proxy definitions
include: with_proxy.yml
when: opdk_version | version_compare('4.16', '>=') and http_proxy is defined and https_proxy is defined
rescue:
- name: Validate status failed, trying component start...
command: '{{ apigee_all }} start'
when: opdk_version | version_compare('4.16.01', '>=')
- name: Wait for ready
ignore_errors: "{{ ignore_errors | default('no') }}"
command: '{{ apigee_all }} wait_for_ready'
when: validate_ready | default(true)
- name: Validate component status
command: '{{ apigee_all }} status'
when: opdk_version | version_compare('4.16.01', '>=')