Ansible-Roles/roles/certbot/tasks/setup-RedHat.yml
2026-05-08 22:12:36 +03:00

12 lines
342 B
YAML

---
# See: https://github.com/geerlingguy/ansible-role-certbot/issues/107
- name: Ensure dnf-plugins are installed on Rocky/AlmaLinux.
ansible.builtin.dnf:
name: dnf-plugins-core
state: present
- name: Enable DNF module for Rocky/AlmaLinux.
ansible.builtin.shell: |
dnf config-manager --set-enabled crb
changed_when: false