+ 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

@ -0,0 +1,16 @@
---
- name: Solve problem with libgd3 for php-gd
hosts: [ 'debian10' ]
vars_files:
- ./../../vars/php.yml
tasks:
- copy:
dest: '/etc/apt/preferences.d/libgd-pin100'
content: |-
Package: libgd3
Pin-Priority: 100
- shell: |-
apt update
apt install -t bullseye libgd3 -yy
apt-cache policy libgd3
apt install php{{ php_version }}-gd -yy