php: php-imagick is now an Arch package
parent
281726fef3
commit
462c157ca1
|
@ -10,11 +10,6 @@
|
||||||
msg: php
|
msg: php
|
||||||
### ⇐ UPSTREAM BEGIN ###
|
### ⇐ UPSTREAM BEGIN ###
|
||||||
|
|
||||||
- name: remove obsolete software
|
|
||||||
package:
|
|
||||||
name: php-mcrypt
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: install software
|
- name: install software
|
||||||
package:
|
package:
|
||||||
name: "{{item}}"
|
name: "{{item}}"
|
||||||
|
@ -22,6 +17,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- php-apcu
|
- php-apcu
|
||||||
- php-gd
|
- php-gd
|
||||||
|
- php-imagick
|
||||||
- php-intl
|
- php-intl
|
||||||
- php-pgsql
|
- php-pgsql
|
||||||
- php-pspell
|
- php-pspell
|
||||||
|
@ -30,17 +26,6 @@
|
||||||
- php-geoip
|
- php-geoip
|
||||||
- geoip-database-extra
|
- 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 ⇒ ###
|
### UPSTREAM END ⇒ ###
|
||||||
- name: merge upstream
|
- name: merge upstream
|
||||||
include_role: name=etckeeper.inc allow_duplicates=true tasks_from=merge.yml
|
include_role: name=etckeeper.inc allow_duplicates=true tasks_from=merge.yml
|
||||||
|
@ -48,6 +33,13 @@
|
||||||
msg: php
|
msg: php
|
||||||
### ⇐ UPSTREAM END ###
|
### ⇐ 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
|
- name: activate PHP extensions
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/php/php.ini
|
path: /etc/php/php.ini
|
||||||
|
@ -81,36 +73,6 @@
|
||||||
notify:
|
notify:
|
||||||
- restart php-fpm.service (front)
|
- 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
|
- name: disable PHP configuration lines
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/php/php.ini
|
path: /etc/php/php.ini
|
||||||
|
|
Loading…
Reference in New Issue