- name: "Install Remi repo GPG key" rpm_key: state: present key: https://rpms.remirepo.net/RPM-GPG-KEY-remi2018 #key: https://rpms.remirepo.net/RPM-GPG-KEY-remi - name: Install Required repositories action: package name={{item}} state=present with_items: - epel-release - https://rpms.remirepo.net/enterprise/remi-release-8.rpm - name: Enable the PHP remi repository dnf: name: '@php:remi-7.4' state: present # EPEL 8 does not support modules properly so we have to use Remi's repo for # php-pecl-redis to be available # https://docs.nextcloud.com/server/latest/admin_manual/installation/example_centos.html - name: Enable the Redis 6 module dnf: name: '@redis:6' state: present