blob: f08153bec3a3dfabacc5e5bc0096047eca9010f3 [file] [log] [blame]
---
# tasks file for apigee-opdk-setup-component
- name: Install Apigee component for version {{ opdk_version }} or greater with proxy - {{ profile }}
become: yes
command: '{{ apigee_setup }} -p {{ profile }} -f {{ opdk_installation_config_file }}'
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
no_proxy: "{{ no_proxy }}"
PORT_TIMEOUT: '{{ port_timeout | default(60) }}'
UP_TIMEOUT: '{{ up_timeout | default(60) }}'
when: opdk_debug_mode is not defined or opdk_debug_mode | trim | lower == 'off'
- name: DEBUG_MODE - Install Apigee component for version {{ opdk_version }} or greater with proxy - {{ profile }}
become: yes
command: '/usr/bin/bash -x {{ apigee_setup }} -p {{ profile }} -f {{ opdk_installation_config_file }}'
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
no_proxy: "{{ no_proxy }}"
PORT_TIMEOUT: '{{ port_timeout | default(60) }}'
UP_TIMEOUT: '{{ up_timeout | default(60) }}'
when: opdk_debug_mode is defined and opdk_debug_mode | trim | lower == 'on'
- name: Wait for ready with no proxy
become: yes
command: '{{ apigee_all }} wait_for_ready'
when: validate_ready | default(true)
- name: Wait for ready
become: yes
ignore_errors: "{{ ignore_errors | default('no') }}"
command: '{{ apigee_all }} wait_for_ready'
when: validate_ready | default(true)
- name: Validate component status
become: yes
command: '{{ apigee_all }} status'