From cc84bd8050cbf9f00aaba81f29f7b7c783e38718 Mon Sep 17 00:00:00 2001 From: Jason Risch Date: Tue, 7 May 2024 16:33:56 -0700 Subject: [PATCH] Include Rocky linux in DNF setup --- tasks/setup-RedHat.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index a7fbbf7..2f2c282 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -2,14 +2,14 @@ # See: https://github.com/geerlingguy/ansible-role-certbot/issues/107 - block: - - name: Ensure dnf-plugins are installed on CentOS 8+. + - name: Ensure dnf-plugins are installed on CentOS/Rocky 8+. yum: name: dnf-plugins-core state: present - block: - - name: Enable DNF module for CentOS 8.3+. + - name: Enable DNF module for CentOS/Rocky 8.3+. shell: | dnf config-manager --set-enabled powertools register: dnf_module_enable @@ -17,7 +17,7 @@ when: ansible_facts['distribution_version'] is version('8.3', '>=') - - name: Enable DNF module for CentOS 8.0–8.2. + - name: Enable DNF module for CentOS/Rocky 8.0–8.2. shell: | dnf config-manager --set-enabled PowerTools register: dnf_module_enable