updates for upgrade
diff --git a/tasks/online/install-bootstrap-with-no-proxy.yml b/tasks/online/install-bootstrap-with-no-proxy.yml
index f9f6990..c4d48ea 100644
--- a/tasks/online/install-bootstrap-with-no-proxy.yml
+++ b/tasks/online/install-bootstrap-with-no-proxy.yml
@@ -1,4 +1,8 @@
---
+- name: Remove apigee-service is this is an upgrade
+ shell: "{{ apigee_service }} apigee-service uninstall"
+ when: upgrade_edge is defined and upgrade_edge | bool == True
+
- block:
- name: Update apigee-service if upgrade_edge is set as part of an upgrade
shell: "bash {{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword='{{ apigee_repo_password }}' JAVA_FIX=C"