php: php-imagick is now an Arch package
parent
281726fef3
commit
462c157ca1
|
@ -10,11 +10,6 @@
|
|||
msg: php
|
||||
### ⇐ UPSTREAM BEGIN ###
|
||||
|
||||
- name: remove obsolete software
|
||||
package:
|
||||
name: php-mcrypt
|
||||
state: absent
|
||||
|
||||
- name: install software
|
||||
package:
|
||||
name: "{{item}}"
|
||||
|
@ -22,6 +17,7 @@
|
|||
with_items:
|
||||
- php-apcu
|
||||
- php-gd
|
||||
- php-imagick
|
||||
- php-intl
|
||||
- php-pgsql
|
||||
- php-pspell
|
||||
|
@ -30,17 +26,6 @@
|
|||
- php-geoip
|
||||
- geoip-database-extra
|
||||
|
||||
- name: install AUR software
|
||||
include_role:
|
||||
name: aur.inc
|
||||
allow_duplicates: true
|
||||
vars:
|
||||
pkg_names: |
|
||||
[
|
||||
"php-imagick"
|
||||
]
|
||||
aur_user: git
|
||||
|
||||
### UPSTREAM END ⇒ ###
|
||||
- name: merge upstream
|
||||
include_role: name=etckeeper.inc allow_duplicates=true tasks_from=merge.yml
|
||||
|
@ -48,6 +33,13 @@
|
|||
msg: php
|
||||
### ⇐ UPSTREAM END ###
|
||||
|
||||
- name: enable PHP extension imagick
|
||||
lineinfile:
|
||||
path: /etc/php/conf.d/imagick.ini
|
||||
backrefs: true
|
||||
regexp: '^;*(extension=imagick)\s*$'
|
||||
line: '\1'
|
||||
|
||||
- name: activate PHP extensions
|
||||
lineinfile:
|
||||
path: /etc/php/php.ini
|
||||
|
@ -81,36 +73,6 @@
|
|||
notify:
|
||||
- restart php-fpm.service (front)
|
||||
|
||||
#- name: look for .so in php.ini
|
||||
# command: |
|
||||
# grep -q '^extension=.*\.so[[:blank:]]*$' /etc/php/php.ini
|
||||
# register: checkSO
|
||||
# check_mode: false
|
||||
# ignore_errors: true
|
||||
# changed_when: false
|
||||
#
|
||||
#- name: add PHP extensions (old PHP version)
|
||||
# lineinfile:
|
||||
# path: /etc/php/php.ini
|
||||
# regexp: '^;*(extension={{item}}\.so)\s*$'
|
||||
# line: 'extension={{item}}.so'
|
||||
# insertafter: 'extension=zip'
|
||||
# with_items:
|
||||
# - mcrypt
|
||||
# when:
|
||||
# - (checkSO.rc == 0)
|
||||
#
|
||||
#- name: add PHP extensions (new PHP version)
|
||||
# lineinfile:
|
||||
# path: /etc/php/php.ini
|
||||
# regexp: '^;*(extension={{item}})\s*$'
|
||||
# line: 'extension={{item}}'
|
||||
# insertafter: 'extension=zip'
|
||||
# with_items:
|
||||
# - mcrypt
|
||||
# when:
|
||||
# - (checkSO.rc != 0)
|
||||
|
||||
- name: disable PHP configuration lines
|
||||
lineinfile:
|
||||
path: /etc/php/php.ini
|
||||
|
|
Loading…
Reference in New Issue