aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/fedora.yml
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2017-05-20 21:23:32 -0400
committerGitHub <noreply@github.com>2017-05-20 21:23:32 -0400
commite21afd9063945e9825e4fe541244bc788a15590f (patch)
tree2971e931788eddf51b9ec71ac063bfb951215d0c /tasks/fedora.yml
parent3a55d2ab8ab3a399faaf25c4f46e7f2ea142edc6 (diff)
parenta67dde50f26e0f76d91f0744e8e8341dac95dae2 (diff)
downloadansible-rabbitmq-e21afd9063945e9825e4fe541244bc788a15590f.tar.gz
ansible-rabbitmq-e21afd9063945e9825e4fe541244bc788a15590f.tar.zst
ansible-rabbitmq-e21afd9063945e9825e4fe541244bc788a15590f.zip
Merge pull request #12 from mrlesmithjr/enhancements/issues-9-10-11
Enhancements/issues 9 10 11
Diffstat (limited to 'tasks/fedora.yml')
-rw-r--r--tasks/fedora.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tasks/fedora.yml b/tasks/fedora.yml
index 3d92963..6ac9c03 100644
--- a/tasks/fedora.yml
+++ b/tasks/fedora.yml
@@ -3,6 +3,7 @@
3 dnf: 3 dnf:
4 name: "{{ item }}" 4 name: "{{ item }}"
5 state: present 5 state: present
6 become: true
6 with_items: 7 with_items:
7 - wget 8 - wget
8 9
@@ -10,30 +11,36 @@
10 dnf: 11 dnf:
11 name: "erlang" 12 name: "erlang"
12 state: present 13 state: present
14 become: true
13 15
14- name: fedora | adding RabbitMQ public GPG key 16- name: fedora | adding RabbitMQ public GPG key
15 rpm_key: 17 rpm_key:
16 key: "{{ rabbitmq_redhat_repo_key }}" 18 key: "{{ rabbitmq_redhat_repo_key }}"
17 state: present 19 state: present
20 become: true
18 21
19- name: fedora | downloading RabbitMQ 22- name: fedora | downloading RabbitMQ
20 get_url: 23 get_url:
21 url: "{{ rabbitmq_redhat_url }}/{{ rabbitmq_redhat_package }}" 24 url: "{{ rabbitmq_redhat_url }}/{{ rabbitmq_redhat_package }}"
22 dest: "/opt/{{ rabbitmq_redhat_package }}" 25 dest: "/opt/{{ rabbitmq_redhat_package }}"
26 become: true
23 27
24- name: fedora | installing RabbitMQ 28- name: fedora | installing RabbitMQ
25 dnf: 29 dnf:
26 name: "/opt/{{ rabbitmq_redhat_package }}" 30 name: "/opt/{{ rabbitmq_redhat_package }}"
27 state: present 31 state: present
32 become: true
28 33
29- name: fedora | starting and enabling RabbitMQ service 34- name: fedora | starting and enabling RabbitMQ service
30 service: 35 service:
31 name: "rabbitmq-server" 36 name: "rabbitmq-server"
32 state: started 37 state: started
33 enabled: yes 38 enabled: yes
39 become: true
34 40
35- name: fedora | enabling the RabbitMQ Management Console 41- name: fedora | enabling the RabbitMQ Management Console
36 rabbitmq_plugin: 42 rabbitmq_plugin:
37 names: rabbitmq_management 43 names: rabbitmq_management
38 state: enabled 44 state: enabled
39 notify: restart rabbitmq-server 45 notify: restart rabbitmq-server
46 become: true