From 75ba65c1008106a90cffe6d080fe02459f6c2ae4 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 26 Sep 2018 14:10:41 +0100 Subject: [PATCH] rabbitmq_upgrade_check: Do not complain for upgrades on distro packages Distributions normally provide one version of rabbitmq. Comparing this version against the one provided by packagecloud makes little sense unless the user explicitly requested to install the package from an external source. As such, we should not complain when distribution packages are used. Change-Id: If56873908776ce7a6908f6c4d4aef096d084859f --- tasks/rabbitmq_upgrade_check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/rabbitmq_upgrade_check.yml b/tasks/rabbitmq_upgrade_check.yml index 74b4d2ba..9a227683 100644 --- a/tasks/rabbitmq_upgrade_check.yml +++ b/tasks/rabbitmq_upgrade_check.yml @@ -63,6 +63,7 @@ - not rabbitmq_upgrade | bool - installed_rabbitmq.rc == 0 - not installed_rabbitmq.stdout | search(rabbitmq_package_version) + - rabbitmq_install_method != 'distro' tags: - rabbitmq-package-deb - rabbitmq-package-rpm