+ libgd install for php 8.* now use php version as variable

#861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
2024-04-03 10:51:47 +03:00
parent fd2022333e
commit f276e83e9a

View File

@ -1,6 +1,8 @@
---
- name: Solve problem with libgd3 for php-gd
hosts: [ 'debian10' ]
vars_files:
- ./../../vars/php.yml
tasks:
- copy:
dest: '/etc/apt/preferences.d/libgd-pin100'
@ -11,4 +13,4 @@
apt update
apt install -t bullseye libgd3 -yy
apt-cache policy libgd3
apt install php8.1-gd -yy
apt install php{{ php_version }}-gd -yy