updated where start is done.
diff --git a/tasks/main.yml b/tasks/main.yml
index dab7c0b..eeff424 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -4,20 +4,44 @@
- name: Start a specific Apigee component on the node
shell: '{{ apigee_service }} {{ component_name }} start'
+ 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: Wait for ready on a specific Apigee component
ignore_errors: "{{ ignore_errors | default (true) }}"
shell: '{{ apigee_service }} {{ component_name }} wait_for_ready'
+ 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: validate_ready | default(true) and opdk_debug_mode is not defined or opdk_debug_mode | trim | lower == 'off'
- name: DEBUG_MODE - Start a specific Apigee component on the node
shell: '{{ apigee_service }} {{ component_name }} start'
+ 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: DEBUG_MODE - Wait for ready on a specific Apigee component
ignore_errors: "{{ ignore_errors | default (true) }}"
shell: '{{ apigee_service }} {{ component_name }} wait_for_ready'
+ 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: validate_ready | default(true) and opdk_debug_mode is defined and opdk_debug_mode | trim | lower == 'on'
when: component_name != 'all' and opdk_version | version_compare('4.16.01', '>=')
@@ -26,20 +50,44 @@
- name: Start all Apigee components on the node
shell: '{{ apigee_all }} start'
+ 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: Wait for ready on all Apigee components on the node
ignore_errors: "{{ ignore_errors | default (true) }}"
shell: '{{ apigee_all }} wait_for_ready'
+ 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: validate_ready | default(true) and opdk_debug_mode is not defined or opdk_debug_mode | trim | lower == 'off'
- name: DEBUG_MODE - Start all Apigee components on the node
shell: '{{ apigee_all }} start'
+ 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: DEBUG_MODE - Wait for ready on all Apigee components on the node
ignore_errors: "{{ ignore_errors | default (true) }}"
shell: '{{ apigee_all }} wait_for_ready'
+ 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: validate_ready | default(true) and opdk_debug_mode is defined and opdk_debug_mode | trim | lower == 'on'
when: component_name is not defined or (component_name == 'all' and opdk_version | version_compare('4.16.01', '>=') )