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

Add rpm role

parent 5f0771d6
No related branches found
No related tags found
No related merge requests found
Pipeline #5011 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