2 - name: debian | Adding Pre-Reqs
8 until: result is successful
10 - name: debian | adding RabbitMQ public GPG key to the apt repo
12 url: "{{ rabbitmq_debian_repo_key }}"
16 until: result is successful
18 - name: debian | adding RabbitMQ repo
20 repo: "{{ rabbitmq_debian_repo }}"
24 until: result is successful
26 - name: debian | add Rabbitmq erlang repo key
28 url: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq-erlang
32 until: result is successful
33 when: rabbitmq_debian_erlang_from_rabbit
35 - name: debian | add Rabbitmq erlang repo
37 repo: deb https://dl.bintray.com/rabbitmq-erlang/debian {{ ansible_distribution_release }} erlang
40 when: rabbitmq_debian_erlang_from_rabbit
42 - name: debian | installing RabbitMQ server
44 name: ['rabbitmq-server']
48 until: result is successful
50 - rabbitmq-server{{ (rabbitmq_debian_version is defined) | ternary(['=',rabbitmq_debian_version] | join(''),'') }}
52 - name: debian | enabling the RabbitMQ Management Console
54 names: rabbitmq_management
57 notify: restart rabbitmq-server
59 - name: debian | ensuring that the RabbitMQ service is running