Files
repo2cicd2deploy/.ansible/roles/geerlingguy.certbot/tasks/setup-RedHat.yml
T

13 lines
351 B
YAML
Raw Normal View History

2026-09-18 20:06:53 +02:00
---
# See: https://github.com/geerlingguy/ansible-role-certbot/issues/107
- name: Ensure dnf-plugins are installed on Rocky/AlmaLinux.
yum:
name: dnf-plugins-core
state: present
- name: Enable DNF module for Rocky/AlmaLinux.
shell: |
dnf config-manager --set-enabled crb
changed_when: false
when: ansible_distribution != 'Fedora'