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
|
@ -7,6 +7,18 @@
|
|||
state: present
|
||||
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
|
||||
package:
|
||||
name:
|
||||
|
|
Loading…
Reference in a new issue