aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/redhat.yml
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2016-12-03 17:50:41 -0500
committerLarry Smith Jr <mrlesmithjr@gmail.com>2016-12-03 17:50:41 -0500
commit8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de (patch)
treeaaaf71ac94a4bd065cefd8b3c75603efe3703d89 /tasks/redhat.yml
parentda8e343df912e94703a8094f5e62d4c1bcc57345 (diff)
downloadansible-rabbitmq-8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de.tar.gz
ansible-rabbitmq-8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de.tar.zst
ansible-rabbitmq-8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de.zip
Updated gitignore
Signed-off-by: Larry Smith Jr <mrlesmithjr@gmail.com>
Diffstat (limited to 'tasks/redhat.yml')
-rw-r--r--tasks/redhat.yml40
1 files changed, 0 insertions, 40 deletions
diff --git a/tasks/redhat.yml b/tasks/redhat.yml
deleted file mode 100644
index 484597d..0000000
--- a/tasks/redhat.yml
+++ /dev/null
@@ -1,40 +0,0 @@
1---
2- name: redhat | installing pre-reqs
3 yum:
4 name: "{{ item }}"
5 state: present
6 with_items:
7 - epel-release
8 - wget
9
10- name: redhat | installing erlang
11 yum:
12 name: "erlang"
13 state: present
14
15- name: redhat | adding RabbitMQ public GPG key
16 rpm_key:
17 key: "{{ rabbitmq_redhat_repo_key }}"
18 state: present
19
20- name: redhat | downloading RabbitMQ
21 get_url:
22 url: "{{ rabbitmq_redhat_url }}/{{ rabbitmq_redhat_package }}"
23 dest: "/opt/{{ rabbitmq_redhat_package }}"
24
25- name: redhat | installing RabbitMQ
26 yum:
27 name: "/opt/{{ rabbitmq_redhat_package }}"
28 state: present
29
30- name: redhat | starting and enabling RabbitMQ service
31 service:
32 name: "rabbitmq-server"
33 state: started
34 enabled: yes
35
36- name: redhat | enabling the RabbitMQ Management Console
37 rabbitmq_plugin:
38 names: rabbitmq_management
39 state: enabled
40 notify: restart rabbitmq-server