Added component install
diff --git a/tasks/main.yml b/tasks/main.yml index 5c94167..fb8da46 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -2,11 +2,11 @@ # tasks file for apigee-opdk-setup-component - name: Use no proxy definitions include: with_no_proxy.yml - when: opdk_version | version_compare('4.16', '>=') and https_proxy is not defined or https_proxy | trim == '' and http_proxy is not defined or http_proxy | trim == '' + when: https_proxy is not defined or https_proxy | trim == '' and http_proxy is not defined or http_proxy | trim == '' - name: Use proxy definitions include: with_proxy.yml - when: opdk_version | version_compare('4.16', '>=') and https_proxy is defined and https_proxy | trim != '' and http_proxy is defined and http_proxy | trim != '' + when: https_proxy is defined and https_proxy | trim != '' and http_proxy is defined and http_proxy | trim != '' - name: Wait for ready @@ -16,5 +16,4 @@ - name: Validate component status command: '{{ apigee_all }} status' - when: opdk_version | version_compare('4.16.01', '>=')
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml index 97408aa..218a293 100644 --- a/tasks/with_no_proxy.yml +++ b/tasks/with_no_proxy.yml
@@ -1,7 +1,6 @@ --- - name: Install Apigee component for version {{ opdk_version }} or greater with no proxy - {{ profile }} command: '{{ apigee_setup }} -p {{ profile }} -f {{ opdk_installation_config_file }}' - when: opdk_version | version_compare('4.16.01', '>=') - name: Wait for ready with no proxy command: '{{ apigee_all }} wait_for_ready'
diff --git a/tasks/with_proxy.yml b/tasks/with_proxy.yml index 3c6ff8b..0621d20 100644 --- a/tasks/with_proxy.yml +++ b/tasks/with_proxy.yml
@@ -1,7 +1,6 @@ --- - name: Install Apigee component for version {{ opdk_version }} or greater with proxy - {{ profile }} command: '{{ apigee_setup }} -p {{ profile }} -f {{ opdk_installation_config_file }}' - when: opdk_version | version_compare('4.16.01', '>=') environment: http_proxy: "{{ http_proxy }}" https_proxy: "{{ https_proxy }}"