Adding option for epel install and cleaning up section
This commit is contained in:
parent
65c015112d
commit
74dce7893f
3 changed files with 7 additions and 1 deletions
|
@ -97,6 +97,11 @@ base_debian_automatic_updates_reboot: "03:30"
|
|||
base_redhat_subscription_activationkey: ""
|
||||
base_redhat_subscription_org_id: ""
|
||||
|
||||
# EPEL
|
||||
# =============
|
||||
|
||||
base_redhat_epel: true
|
||||
|
||||
# DNF Automatic
|
||||
# =============
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
file: redhat_epel.yml
|
||||
apply:
|
||||
tags: epel
|
||||
when: ansible_distribution == 'RedHat'
|
||||
when: base_redhat_epel == true
|
||||
tags:
|
||||
- epel
|
||||
|
||||
|
|
|
@ -6,3 +6,4 @@
|
|||
name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
|
||||
state: present
|
||||
disable_gpg_check: True
|
||||
when: ansible_distribution == 'RedHat' or ansible_distribution == 'AlmaLinux'
|
||||
|
|
Loading…
Reference in a new issue