From 00f8e282087dec15be991c8242e1f6afac36c80c Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Thu, 21 Nov 2019 16:07:54 +0100 Subject: debian: fix the use of 'rabbitmq_debian_version' variable Right now the dedicated rabbitmq_debian_version variable was unused by the debian installer. This commit fixes the debian install task to be able to install a specific package version. --- tasks/debian.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/debian.yml b/tasks/debian.yml index 0a6572e..3a4568d 100644 --- a/tasks/debian.yml +++ b/tasks/debian.yml @@ -41,13 +41,12 @@ - name: debian | installing RabbitMQ server apt: - name: ['rabbitmq-server'] + name: + - rabbitmq-server{{ (rabbitmq_debian_version is defined) | ternary(['=',rabbitmq_debian_version] | join(''),'') }} state: present become: true register: result until: result is successful - with_items: - - rabbitmq-server{{ (rabbitmq_debian_version is defined) | ternary(['=',rabbitmq_debian_version] | join(''),'') }} - name: debian | enabling the RabbitMQ Management Console rabbitmq_plugin: -- cgit v1.2.3