Revert "Do not restart rabbitmq when no version is changed"

Rabbitmq does not always check the version, and we need to 
fix the race condition of stop/start as well.
Different approach here is needed, therefore reverting.

This reverts commit c78e0b1d02.

Change-Id: I9a714c9d19ba48d7532ad5addb2846891e005384
This commit is contained in:
Albert Mikaelyan
2018-05-08 10:02:22 +00:00
parent c78e0b1d02
commit c8e8070c14

View File

@@ -70,7 +70,4 @@
- include: rabbitmq_upgrade_prep.yml
static: no
when:
- rabbitmq_upgrade | bool
- installed_rabbitmq.rc == 0
- not installed_rabbitmq.stdout | search(rabbitmq_package_version)
when: rabbitmq_upgrade | bool