Skip to content
Snippets Groups Projects
Commit 59f537f2 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

Add rpm role

parent c8351162
No related branches found
No related tags found
Loading
Pipeline #5014 failed
---
rocky_repo_crb: true
rocky_repo_epel: true
---
- name: Enable CRB repository
community.general.ini_file:
no_extra_spaces: true
path: /etc/yum.repos.d/rocky.repo
section: crb
option: enabled
value: "{{ rocky_repo_crb|int }}"
- name: Enable EPEL repository
ansible.builtin.dnf:
name: epel-release
state: >-
{%- if rocky_repo_epel -%}
present
{%- else -%}
absent
{%- endif -%}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment