aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/redhat.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/redhat.yml')
-rw-r--r--tasks/redhat.yml16
1 files changed, 3 insertions, 13 deletions
diff --git a/tasks/redhat.yml b/tasks/redhat.yml
index 1624d8f..484597d 100644
--- a/tasks/redhat.yml
+++ b/tasks/redhat.yml
@@ -1,24 +1,14 @@
1--- 1---
2- name: redhat | installing pre-reqs (yum) 2- name: redhat | installing pre-reqs
3 yum: 3 yum:
4 name: "{{ item }}" 4 name: "{{ item }}"
5 state: present 5 state: present
6 with_items: 6 with_items:
7 - dnf
8 - epel-release 7 - epel-release
9 - python-dnf
10 when: >
11 ansible_distribution != "Fedora"
12
13- name: redhat | installing pre-reqs (dnf)
14 dnf:
15 name: "{{ item }}"
16 state: present
17 with_items:
18 - wget 8 - wget
19 9
20- name: redhat | installing erlang 10- name: redhat | installing erlang
21 dnf: 11 yum:
22 name: "erlang" 12 name: "erlang"
23 state: present 13 state: present
24 14
@@ -33,7 +23,7 @@
33 dest: "/opt/{{ rabbitmq_redhat_package }}" 23 dest: "/opt/{{ rabbitmq_redhat_package }}"
34 24
35- name: redhat | installing RabbitMQ 25- name: redhat | installing RabbitMQ
36 dnf: 26 yum:
37 name: "/opt/{{ rabbitmq_redhat_package }}" 27 name: "/opt/{{ rabbitmq_redhat_package }}"
38 state: present 28 state: present
39 29