Skip to content

Commit 8f18fb2

Browse files
committed
epel for rhel
1 parent 4386b7f commit 8f18fb2

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

tasks/prerequisites/install-prerequisites.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@
1010

1111
- name: "(Setup: CentOS) Install Prerequisites"
1212
import_tasks: setup-centos.yml
13-
when: ansible_distribution == "CentOS" or ansible_distribution == "RedHat"
13+
when: ansible_distribution == "CentOS"
14+
15+
- name: "(Setup: RedHat) Install Prerequisites"
16+
import_tasks: setup-redhat.yml
17+
when: ansible_distribution == "RedHat"

tasks/prerequisites/setup-redhat.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
- name: "(Install: RedHat) Install Required Dependencies"
3+
package:
4+
name: ca-certificates wget
5+
state: present
6+
7+
8+
- name: "(Install: RedHat) Install Required Dependencies"
9+
yum:
10+
name: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
11+
state: present

0 commit comments

Comments
 (0)