blob: d6b4234e26049fe63796f000c4331ddda519591a [file] [log] [blame]
---
- name: Update cache with key and value
cache:
key: "{{ item.key }}"
value: "{{ item.value }}"
with_items:
- { key: 'apigee_mirror_version', value: '{{ apigee_mirror_version }}' }
- { key: 'copy_archive', value: '{{ copy_archive }}' }
- { key: 'apigee_archive_name', value: '{{ apigee_archive_name }}' }
# tasks file for apigee-opdk-setup-local-repository
- name: Install the local mirror with no proxy
include_tasks: with_no_proxy.yml
when: https_proxy is defined and https_proxy | trim != '' and http_proxy is defined and http_proxy | trim != ''
- name: Install the local mirror with no proxy
include_tasks: with_proxy.yml
when: (https_proxy is not defined or https_proxy | trim == '') and (http_proxy is not defined or http_proxy | trim == '')