+ libgd install for php 8.* now use php version as variable
#861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: Solve problem with libgd3 for php-gd
|
- name: Solve problem with libgd3 for php-gd
|
||||||
hosts: [ 'debian10' ]
|
hosts: [ 'debian10' ]
|
||||||
|
vars_files:
|
||||||
|
- ./../../vars/php.yml
|
||||||
tasks:
|
tasks:
|
||||||
- copy:
|
- copy:
|
||||||
dest: '/etc/apt/preferences.d/libgd-pin100'
|
dest: '/etc/apt/preferences.d/libgd-pin100'
|
||||||
@ -11,4 +13,4 @@
|
|||||||
apt update
|
apt update
|
||||||
apt install -t bullseye libgd3 -yy
|
apt install -t bullseye libgd3 -yy
|
||||||
apt-cache policy libgd3
|
apt-cache policy libgd3
|
||||||
apt install php8.1-gd -yy
|
apt install php{{ php_version }}-gd -yy
|
Reference in New Issue
Block a user