diff --git a/playbooks/prepare-node-common.yaml b/playbooks/prepare-node-common.yaml index a1d9e1a85..cf80dc871 100644 --- a/playbooks/prepare-node-common.yaml +++ b/playbooks/prepare-node-common.yaml @@ -74,6 +74,11 @@ - ruby-devel - zlib-devel + - name: Install yum (Fedora or CentOS/RHEL>=8) + dnf: + name: yum + become: true + when: - ansible_os_family == 'RedHat' - ansible_distribution == "Fedora" or ansible_distribution_major_version >= "8"