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:
@@ -70,7 +70,4 @@
|
|||||||
|
|
||||||
- include: rabbitmq_upgrade_prep.yml
|
- include: rabbitmq_upgrade_prep.yml
|
||||||
static: no
|
static: no
|
||||||
when:
|
when: rabbitmq_upgrade | bool
|
||||||
- rabbitmq_upgrade | bool
|
|
||||||
- installed_rabbitmq.rc == 0
|
|
||||||
- not installed_rabbitmq.stdout | search(rabbitmq_package_version)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user