Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Essential
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tools
Ansible
Roles
Essential
Commits
d4ea4f73
Commit
d4ea4f73
authored
4 years ago
by
Dmitriy Safronov
Browse files
Options
Downloads
Patches
Plain Diff
"OracleLinux"
parent
c12b63b4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/centos/main.yml
+9
-2
9 additions, 2 deletions
tasks/centos/main.yml
with
9 additions
and
2 deletions
tasks/centos/main.yml
+
9
−
2
View file @
d4ea4f73
---
---
-
name
:
Enable EPEL repo
-
name
:
Enable EPEL repo
with standard package
dnf
:
dnf
:
name
:
epel-release
name
:
epel-release
state
:
present
state
:
present
update_cache
:
yes
update_cache
:
yes
when
:
apply_epel is defined and apply_epel
when
:
apply_epel is defined and apply_epel and (ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux')
-
name
:
Enable EPEL repo with external package
dnf
:
name
:
"
https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{
ansible_distribution_major_version
}}.noarch.rpm"
state
:
present
update_cache
:
yes
when
:
apply_epel is defined and apply_epel and ansible_distribution == 'OracleLinux'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment