From 613299cd31700e78599dedf0f19f78fe4876c207 Mon Sep 17 00:00:00 2001 From: Larry Smith Jr Date: Wed, 19 Dec 2018 09:52:51 -0500 Subject: First commit of refactoring --- tasks/debian.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tasks/debian.yml') diff --git a/tasks/debian.yml b/tasks/debian.yml index c98ff68..317932e 100644 --- a/tasks/debian.yml +++ b/tasks/debian.yml @@ -20,6 +20,8 @@ url: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq-erlang state: present become: true + register: result + until: result is successful when: rabbitmq_debian_erlang_from_rabbit - name: debian | add Rabbitmq erlang repo @@ -34,8 +36,10 @@ name: ['rabbitmq-server'] state: present become: true + register: result + until: result is successful with_items: - - rabbitmq-server{{ (rabbitmq_debian_version is defined) | ternary(['=',rabbitmq_debian_version] | join(''),'')}} + - 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