blob: 06381e1b7758d7eeefe20779ab44e94c34a78f29 [file] [log] [blame]
---
# 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 with proxy - {{ component }}
shell: '{{ apigee_service }} {{ component }} install'
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 - {{ component }}
shell: '/bin/bash -x {{ apigee_service }} {{ component }} install'
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'