Browse Source
Fixed fedora modular repos activation for fcos (#6300)
* Enable fedora modular repos for fcos #6299
* Fixed fedora modular repos activation for fcos #6300
pull/6393/head
Daniel Schade
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
4 deletions
-
roles/container-engine/cri-o/tasks/crio_repo.yml
|
@ -42,15 +42,17 @@ |
|
|
|
|
|
|
|
|
- name: Enable modular repos for CRI-O |
|
|
- name: Enable modular repos for CRI-O |
|
|
ini_file: |
|
|
ini_file: |
|
|
path: "/etc/yum.repos.d/{{ item }}.repo" |
|
|
|
|
|
section: "{{ item }}" |
|
|
|
|
|
|
|
|
path: "/etc/yum.repos.d/{{ item.repo }}.repo" |
|
|
|
|
|
section: "{{ item.section }}" |
|
|
option: enabled |
|
|
option: enabled |
|
|
value: 1 |
|
|
value: 1 |
|
|
become: true |
|
|
become: true |
|
|
when: is_ostree |
|
|
when: is_ostree |
|
|
loop: |
|
|
loop: |
|
|
- "fedora-updates-modular" |
|
|
|
|
|
- "fedora-modular" |
|
|
|
|
|
|
|
|
- repo: "fedora-updates-modular" |
|
|
|
|
|
section: "updates-modular" |
|
|
|
|
|
- repo: "fedora-modular" |
|
|
|
|
|
section: "fedora-modular" |
|
|
|
|
|
|
|
|
- name: Enable CRI-O module |
|
|
- name: Enable CRI-O module |
|
|
command: "dnf -y module enable cri-o:{{ crio_version }}" |
|
|
command: "dnf -y module enable cri-o:{{ crio_version }}" |
|
|