From a74c237cf717246d659cef241a5d09096cbbc2a0 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: 2017年9月14日 16:26:25 -0600 Subject: [PATCH] Use yum whe installing RabbitMQ The version of dnf that comes with CentOS 7 does not come with versionlock support. This causes the locks for RabbitMQ and erlang to be ignored, which breaks the gate. Closes-Bug: 1717376 Change-Id: Ifd8cd5a7f26c044564b5e8f64398f59636d62200 --- tasks/install_yum.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/install_yum.yml b/tasks/install_yum.yml index 9e17aa4c..5cf26b07 100644 --- a/tasks/install_yum.yml +++ b/tasks/install_yum.yml @@ -118,9 +118,10 @@ # NOTE(mhayden): With the version locks applied, this step will install # the correct version of RabbitMQ along with the correct version of the -# all-in-one erlang package. +# all-in-one erlang package. Also, the version of dnf that comes with CentOS +# 7 doesn't have version lock support, so we must use yum here. - name: Install RabbitMQ packages - package: + yum: name: "{{ rabbitmq_distro_packages }}" state: "{{ rabbitmq_package_state }}" register: install_rabbitmq

AltStyle によって変換されたページ (->オリジナル) /