Skip to content

Commit

Permalink
Disable ImageMagick on EL
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 28, 2024
1 parent e51b389 commit 6bf041d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/php_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
failed_when: noobient_nginx_sodium_install.rc != 0 and noobient_nginx_sodium_install.rc != 1
when: mode == 'moodle' and noobient_nginx_sodium_install is not defined

# Not available on EL8
# Apparently not available/working on EL8/EL9 rn
- name: Install ImageMagick PHP extension
package:
name: "php{% if ansible_os_family == 'RedHat' %}-pecl{% else %}{{ noobient_nginx_php_ver }}{% endif %}-imagick"
state: latest
when: not (ansible_distribution_major_version == '8' and ansible_os_family == 'RedHat')
when: ansible_distribution == 'Fedora' or ansible_os_family == 'Debian'

- name: Set PHP options for Moodle
ini_file:
Expand Down

0 comments on commit 6bf041d

Please sign in to comment.