blob: d5ddc207a0fd2463a9d7b7081139d2e76abae893 [file] [log] [blame]
---
- name: Obtain apigee-provision status
stat:
path: '{{ apigee_provision_dir }}'
register: apigee_provision_status
- name: Ensure apigee-provision is current by uninstalling this first with proxy
ignore_errors: yes
shell: '{{ apigee_service }} apigee-provision uninstall'
when: not apigee_provision_status.stat.exists
environment:
no_proxy: "{{ no_proxy }}"
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
- name: Apigee provision installation with proxy
shell: '{{ apigee_service }} apigee-provision install'
when: not apigee_provision_status.stat.exists
environment:
no_proxy: "{{ no_proxy }}"
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
- name: Apigee organization setup with proxy
shell: '{{ apigee_service }} apigee-provision setup-org -f {{ onboarding_config_file_path }}'
ignore_errors: yes
environment:
no_proxy: "{{ no_proxy }}"
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"