Updating to php 8.1

Signed-off-by: Tyler Hale <tyler@haletek.com>
This commit is contained in:
Tyler Hale 2024-05-15 20:36:05 -06:00
parent 87f5659793
commit 4bb71fcd34
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96

View file

@ -6,7 +6,19 @@
name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm" name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
state: present state: present
disable_gpg_check: True disable_gpg_check: True
- name: Install remi RPM
package:
name: https://rpms.remirepo.net/enterprise/remi-release-9.rpm
state: present
disable_gpg_check: True
- name: Enable DNF module for php
shell: |
dnf module enable -y php:remi-8.1
register: dnf_module_enable
changed_when: "'Nothing to do' not in dnf_module_enable.stdout"
- name: Install packages - name: Install packages
package: package:
name: name: