Skip to content

Commit

Permalink
fix-container-selinux-amzn-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
yankay committed May 13, 2024
1 parent 41036e3 commit dfeccaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
3 changes: 3 additions & 0 deletions roles/bootstrap-os/tasks/amzn.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 0 additions & 12 deletions roles/container-engine/cri-o/tasks/setup-amazon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dfeccaf

Please sign in to comment.