Kay Yan
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
12 deletions
-
roles/bootstrap-os/tasks/amzn.yml
-
roles/container-engine/cri-o/tasks/setup-amazon.yaml
|
|
@ -1,4 +1,7 @@ |
|
|
|
--- |
|
|
|
- name: Enable selinux-ng repo for Amazon Linux for container-selinux |
|
|
|
command: amazon-linux-extras enable selinux-ng |
|
|
|
|
|
|
|
- name: Enable EPEL repo for Amazon Linux |
|
|
|
yum_repository: |
|
|
|
name: epel |
|
|
|
|
|
@ -24,15 +24,3 @@ |
|
|
|
when: |
|
|
|
- amzn2_extras_file_stat.stat.exists |
|
|
|
- not amzn2_extras_docker_repo.changed |
|
|
|
|
|
|
|
- name: Add container-selinux yum repo |
|
|
|
yum_repository: |
|
|
|
name: copr:copr.fedorainfracloud.org:lsm5:container-selinux |
|
|
|
file: _copr_lsm5-container-selinux.repo |
|
|
|
description: Copr repo for container-selinux owned by lsm5 |
|
|
|
baseurl: https://download.copr.fedorainfracloud.org/results/lsm5/container-selinux/epel-7-$basearch/ |
|
|
|
gpgcheck: yes |
|
|
|
gpgkey: https://download.copr.fedorainfracloud.org/results/lsm5/container-selinux/pubkey.gpg |
|
|
|
skip_if_unavailable: yes |
|
|
|
enabled: yes |
|
|
|
repo_gpgcheck: no |