diff options
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: |