aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/fedora.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/fedora.yml')
-rw-r--r--tasks/fedora.yml18
1 files changed, 12 insertions, 6 deletions
diff --git a/tasks/fedora.yml b/tasks/fedora.yml
index 6ac9c03..b09ced0 100644
--- a/tasks/fedora.yml
+++ b/tasks/fedora.yml
@@ -1,23 +1,27 @@
1--- 1---
2- name: fedora | installing pre-reqs 2- name: fedora | installing pre-reqs
3 dnf: 3 dnf:
4 name: "{{ item }}" 4 name: ['wget']
5 state: present 5 state: present
6 become: true 6 become: true
7 with_items: 7 register: result
8 - wget 8 until: result is successful
9 9
10- name: fedora | installing erlang 10- name: fedora | installing erlang
11 dnf: 11 dnf:
12 name: "erlang" 12 name: ['erlang']
13 state: present 13 state: present
14 become: true 14 become: true
15 register: result
16 until: result is successful
15 17
16- name: fedora | adding RabbitMQ public GPG key 18- name: fedora | adding RabbitMQ public GPG key
17 rpm_key: 19 rpm_key:
18 key: "{{ rabbitmq_redhat_repo_key }}" 20 key: "{{ rabbitmq_redhat_repo_key }}"
19 state: present 21 state: present
20 become: true 22 become: true
23 register: result
24 until: result is successful
21 25
22- name: fedora | downloading RabbitMQ 26- name: fedora | downloading RabbitMQ
23 get_url: 27 get_url:
@@ -30,12 +34,14 @@
30 name: "/opt/{{ rabbitmq_redhat_package }}" 34 name: "/opt/{{ rabbitmq_redhat_package }}"
31 state: present 35 state: present
32 become: true 36 become: true
37 register: result
38 until: result is successful
33 39
34- name: fedora | starting and enabling RabbitMQ service 40- name: fedora | starting and enabling RabbitMQ service
35 service: 41 service:
36 name: "rabbitmq-server" 42 name: rabbitmq-server
37 state: started 43 state: started
38 enabled: yes 44 enabled: true
39 become: true 45 become: true
40 46
41- name: fedora | enabling the RabbitMQ Management Console 47- name: fedora | enabling the RabbitMQ Management Console