Disable EPEL.

This commit is contained in:
yohan 2024-06-19 23:56:22 +02:00
parent df1e417aed
commit 5fda4e87cd

View File

@ -22,14 +22,14 @@
become: true
tags: upgrade
- name: reboot
- name: Reboot
ansible.builtin.reboot:
when:
- upgrade_register is defined
- upgrade_register is changed
become: true
- name: enable EPEL
- name: Add EPEL repository
ansible.builtin.package:
name:
- epel-release.noarch
@ -37,11 +37,11 @@
become: true
- name: Ensure the EPEL repository is disabled
community.general.dnf_config_manager:
name: epel
state: disabled
ansible.builtin.command: "yum-config-manager --disable epel"
changed_when: false
become: true
- name: install useful packages
- name: Install useful packages
ansible.builtin.package:
name:
- vim