Removed unused code
diff --git a/tasks/main.yml b/tasks/main.yml index c8adffd..9f8c8d9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -1,13 +1,5 @@ --- # tasks file for apigee-opdk-setup-component -#- name: Use no proxy definitions -# include: with_no_proxy.yml -# 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: https_proxy is defined and https_proxy | trim != '' and http_proxy is defined and http_proxy | trim != '' - - 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 }}'
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml deleted file mode 100644 index b22bb33..0000000 --- a/tasks/with_no_proxy.yml +++ /dev/null
@@ -1,22 +0,0 @@ ---- -- name: Install Apigee component for version {{ opdk_version }} or greater with no proxy - {{ profile }} - become: yes - command: '{{ apigee_setup }} -p {{ profile }} -f {{ opdk_installation_config_file }}' - when: opdk_debug_mode is not defined or opdk_debug_mode | trim | lower == 'off' - environment: - PORT_TIMEOUT: '{{ port_timeout | default(60) }}' - UP_TIMEOUT: '{{ up_timeout | default(60) }}' - -- name: DEBUG_MODE - Install Apigee component for version {{ opdk_version }} or greater with no proxy - {{ profile }} - become: yes - command: '{{ apigee_setup }} -p {{ profile }} -f {{ opdk_installation_config_file }}' - when: opdk_debug_mode is defined and opdk_debug_mode | trim | lower == 'on' - environment: - PORT_TIMEOUT: '{{ port_timeout | default(60) }}' - UP_TIMEOUT: '{{ up_timeout | default(60) }}' - - -- name: Wait for ready with no proxy - become: yes - command: '{{ apigee_all }} wait_for_ready' - when: validate_ready | default(true)
diff --git a/tasks/with_proxy.yml b/tasks/with_proxy.yml deleted file mode 100644 index 86e982e..0000000 --- a/tasks/with_proxy.yml +++ /dev/null
@@ -1,24 +0,0 @@ ---- -- 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 }}" - 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: 'bash -x {{ apigee_setup }} -p {{ profile }} -f {{ opdk_installation_config_file }}' - environment: - http_proxy: "{{ http_proxy }}" - https_proxy: "{{ https_proxy }}" - no_proxy: "{{ no_proxy }}" - 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) -