diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-19 09:50:10 -0500 |
---|---|---|
committer | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-19 09:50:10 -0500 |
commit | 9cac39786e63d655eceb3ecbd74b3df8461654d3 (patch) | |
tree | 6e5dc8783adb36ebe81a3b6d28e6399fd256228e /Vagrant/roles/ansible-rabbitmq/tasks/debian.yml | |
parent | 80121e2128f9b9702fbcb2c1fe713a0d42212c90 (diff) | |
download | ansible-rabbitmq-9cac39786e63d655eceb3ecbd74b3df8461654d3.tar.gz ansible-rabbitmq-9cac39786e63d655eceb3ecbd74b3df8461654d3.tar.zst ansible-rabbitmq-9cac39786e63d655eceb3ecbd74b3df8461654d3.zip |
Cleaned up Vagrant and merged new commits
Diffstat (limited to 'Vagrant/roles/ansible-rabbitmq/tasks/debian.yml')
-rw-r--r-- | Vagrant/roles/ansible-rabbitmq/tasks/debian.yml | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Vagrant/roles/ansible-rabbitmq/tasks/debian.yml b/Vagrant/roles/ansible-rabbitmq/tasks/debian.yml deleted file mode 100644 index a031ead..0000000 --- a/Vagrant/roles/ansible-rabbitmq/tasks/debian.yml +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | --- | ||
2 | - name: debian | adding RabbitMQ public GPG key to the apt repo | ||
3 | apt_key: | ||
4 | url: "{{ rabbitmq_debian_repo_key }}" | ||
5 | state: present | ||
6 | |||
7 | - name: debian | adding RabbitMQ repo | ||
8 | apt_repository: | ||
9 | repo: "{{ rabbitmq_debian_repo }}" | ||
10 | state: present | ||
11 | register: "rabbitmq_repo_added" | ||
12 | |||
13 | - name: debian | updating apt cache | ||
14 | apt: | ||
15 | update_cache: yes | ||
16 | when: rabbitmq_repo_added.changed | ||
17 | |||
18 | - name: debian | installing RabbitMQ server | ||
19 | apt: | ||
20 | name: "{{ item }}" | ||
21 | state: present | ||
22 | with_items: | ||
23 | - rabbitmq-server | ||
24 | |||
25 | - name: debian | enabling the RabbitMQ Management Console | ||
26 | rabbitmq_plugin: | ||
27 | names: rabbitmq_management | ||
28 | state: enabled | ||
29 | notify: restart rabbitmq-server | ||
30 | |||
31 | - name: debian | ensuring that the RabbitMQ service is running | ||
32 | service: | ||
33 | name: rabbitmq-server | ||
34 | state: started | ||
35 | enabled: yes | ||