Skip to content
Snippets Groups Projects
Unverified Commit b347aefd authored by Daniel Schade's avatar Daniel Schade Committed by GitHub
Browse files

Fixed fedora modular repos activation for fcos (#6300)

* Enable fedora modular repos for fcos #6299

* Fixed fedora modular repos activation for fcos #6300
parent abfa1636
No related branches found
No related tags found
No related merge requests found
...@@ -42,15 +42,17 @@ ...@@ -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" path: "/etc/yum.repos.d/{{ item.repo }}.repo"
section: "{{ item }}" 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" - repo: "fedora-updates-modular"
- "fedora-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 }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment