Updating to php 8.1
Signed-off-by: Tyler Hale <tyler@haletek.com>
This commit is contained in:
parent
87f5659793
commit
4bb71fcd34
1 changed files with 12 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue