]>
Commit | Line | Data |
---|---|---|
ec96510d FG |
1 | os_type: rhel |
2 | os_version: "8.3" | |
3 | overrides: | |
4 | selinux: | |
5 | whitelist: | |
6 | - scontext=system_u:system_r:logrotate_t:s0 | |
7 | ||
8 | tasks: | |
9 | - exec: | |
10 | all: | |
11 | - echo -e "[[registry]]\nlocation = 'docker.io'\n\n[[registry.mirror]]\nlocation='docker-mirror.front.sepia.ceph.com:5000'\n" | sudo tee /etc/containers/registries.conf | |
12 | - sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup | |
13 | - sudo dnf -y module disable container-tools | |
14 | - sudo dnf -y install 'dnf-command(copr)' | |
15 | - sudo dnf -y copr enable rhcontainerbot/container-selinux | |
16 | - sudo curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo | |
17 | - sudo dnf remove -y podman | |
18 | - sudo dnf -y install podman | |
19 | - sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf |