Merge branch 'KBrown/redhat-pre-tasks-incompatibilidades-con-fedora' into imcsk8/signaling-packages
This commit is contained in:
commit
bb2d301173
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
- name: Enable The CRB Repository
|
||||
ansible.builtin.command: /usr/bin/dnf config-manager --set-enabled crb
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution != 'Fedora'
|
||||
|
||||
#- name: "Install Remi repo GPG key"
|
||||
# rpm_key:
|
||||
|
@ -25,6 +28,9 @@
|
|||
ansible.builtin.rpm_key:
|
||||
state: present
|
||||
key: "https://rpms.remirepo.net/enterprise/{{ansible_distribution_major_version}}/RPM-GPG-KEY-remi"
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution != 'Fedora'
|
||||
|
||||
- name: Remi::Install REMI repository
|
||||
dnf:
|
||||
|
@ -50,6 +56,9 @@
|
|||
|
||||
- name: Remi::Reset PHP module
|
||||
ansible.builtin.command: /usr/bin/dnf -y module reset php
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution != 'Fedora'
|
||||
|
||||
- name: Remi::Install PHP {{ php_version }} module
|
||||
ansible.builtin.command: /usr/bin/dnf -y module install php:remi-{{ php_version }}
|
||||
|
|
Loading…
Reference in a new issue