blob: 8c5d8ac4032a07f23a4910b14272e5576ff3ab07 [file]
---
# tasks file for apigee-opdk-update-component-inplace
- name: Determine if component was previously installed
stat:
path: "{{ apigee_home }}/{{ component }}"
register: component_state
- name: Update apigee component
shell: '{{ apigee_service }} {{ component }} update'
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
no_proxy: "{{ no_proxy }}"
PORT_TIMEOUT: '{{ port_timeout | default(60) }}'
UP_TIMEOUT: '{{ up_timeout | default(60) }}'
when: component_state.stat.exists