2021-06-25 18:22:45 +08:00
|
|
|
---
|
2024-05-13 22:39:33 +08:00
|
|
|
- name: Enable selinux-ng repo for Amazon Linux for container-selinux
|
|
|
|
command: amazon-linux-extras enable selinux-ng
|
|
|
|
|
2021-06-25 18:22:45 +08:00
|
|
|
- name: Enable EPEL repo for Amazon Linux
|
|
|
|
yum_repository:
|
|
|
|
name: epel
|
|
|
|
file: epel
|
|
|
|
description: Extra Packages for Enterprise Linux 7 - $basearch
|
|
|
|
baseurl: http://download.fedoraproject.org/pub/epel/7/$basearch
|
|
|
|
gpgcheck: yes
|
|
|
|
gpgkey: http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
|
|
|
skip_if_unavailable: yes
|
|
|
|
enabled: yes
|
|
|
|
repo_gpgcheck: no
|
|
|
|
when: epel_enabled
|