diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-19 09:52:51 -0500 |
---|---|---|
committer | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-19 09:52:51 -0500 |
commit | 613299cd31700e78599dedf0f19f78fe4876c207 (patch) | |
tree | ef6f5534010bb524d83bf0b92edfb877aaf525fd /tasks/debian.yml | |
parent | d62baac66345ed735443cbb648e684923fed7d17 (diff) | |
download | ansible-rabbitmq-613299cd31700e78599dedf0f19f78fe4876c207.tar.gz ansible-rabbitmq-613299cd31700e78599dedf0f19f78fe4876c207.tar.zst ansible-rabbitmq-613299cd31700e78599dedf0f19f78fe4876c207.zip |
First commit of refactoring
Diffstat (limited to 'tasks/debian.yml')
-rw-r--r-- | tasks/debian.yml | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ | |||
20 | url: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq-erlang | 20 | url: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq-erlang |
21 | state: present | 21 | state: present |
22 | become: true | 22 | become: true |
23 | register: result | ||
24 | until: result is successful | ||
23 | when: rabbitmq_debian_erlang_from_rabbit | 25 | when: rabbitmq_debian_erlang_from_rabbit |
24 | 26 | ||
25 | - name: debian | add Rabbitmq erlang repo | 27 | - name: debian | add Rabbitmq erlang repo |
@@ -34,8 +36,10 @@ | |||
34 | name: ['rabbitmq-server'] | 36 | name: ['rabbitmq-server'] |
35 | state: present | 37 | state: present |
36 | become: true | 38 | become: true |
39 | register: result | ||
40 | until: result is successful | ||
37 | with_items: | 41 | with_items: |
38 | - rabbitmq-server{{ (rabbitmq_debian_version is defined) | ternary(['=',rabbitmq_debian_version] | join(''),'')}} | 42 | - rabbitmq-server{{ (rabbitmq_debian_version is defined) | ternary(['=',rabbitmq_debian_version] | join(''),'') }} |
39 | 43 | ||
40 | - name: debian | enabling the RabbitMQ Management Console | 44 | - name: debian | enabling the RabbitMQ Management Console |
41 | rabbitmq_plugin: | 45 | rabbitmq_plugin: |