updated logic
diff --git a/tasks/main.yml b/tasks/main.yml
index 0db01df..c315074 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -25,6 +25,9 @@
msg: 'Bootstrap installation failed, no point in letting this go further'
when: not bootstrap_exists.stat.exists
+ - name: Yum clean all
+ shell: "yum clean all"
+
- 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"