updated where start is done.
diff --git a/tasks/main.yml b/tasks/main.yml index 408974a..c958a3d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -12,16 +12,16 @@ 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: wait_for_ready | default(false) and 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: wait_for_ready | default(false) 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' @@ -33,16 +33,16 @@ 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: wait_for_ready | default(false) and 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: wait_for_ready | default(false) 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', '>=') @@ -58,16 +58,16 @@ 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: wait_for_ready | default(false) and 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: wait_for_ready | default(false) 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' @@ -79,15 +79,15 @@ 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: wait_for_ready | default(false) and 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: wait_for_ready | default(false) 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', '>=') )