blob: ed95dce986761cc89e2a4b4d0ff34c38348ab80a [file] [log] [blame]
---
---
# tasks file for apigee-opdk-setup-local-repository
- name: Install the local mirror with no proxy
shell: "{{ apigee_service }} apigee-mirror install"
args:
creates: "{{ apigee_home }}/apigee-mirror/lib/actions/nginxconfig"
#- name: Clear the local mirror data directory with no proxy
# shell: "{{ apigee_service }} apigee-mirror clean"
- name: Sync the local mirror with only new rpms with no proxy
shell: "{{ apigee_service }} apigee-mirror sync --only-new-rpms apigeereleasever={{ apigee_mirror_version }}"
when: all_rpms is not defined and not all_rpms | bool == True
- name: Sync the local mirror with all rpms with no proxy
shell: "{{ apigee_service }} apigee-mirror sync apigeereleasever={{ apigee_mirror_version }}"
when: all_rpms is defined and all_rpms | bool == True
- name: Create archive with no proxy
shell: "{{ apigee_service }} apigee-mirror package"