Skip to content

Commit

Permalink
Back to normal for RHEL derivs.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jul 31, 2024
1 parent 501dfc3 commit 942f6a7
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@
set_fact:
munin_required_packages: "{{ munin_packages | default(munin_default_packages) }}"

# See: https://github.com/ansible/ansible/issues/64852
- block:

- name: Ensure dnf-plugins are installed on CentOS 8+.
yum:
name: dnf-plugins-core
state: present

- name: Enable DNF module for CentOS 8+.
shell: |
dnf config-manager --set-enabled powertools
dnf module enable -y php:remi-{{ php_version }}
register: dnf_module_enable
changed_when: "'Nothing to do' not in dnf_module_enable.stdout"

when:
- ansible_os_family == 'RedHat'
- ansible_distribution_major_version | int >= 8

- name: Install required packages for munin.
package:
name: "{{ munin_required_packages }}"
Expand Down

0 comments on commit 942f6a7

Please sign in to comment.