Browse Source

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

#861m7vaer Шаблон операционной системы на Debian 10
master
dimti 9 months ago
parent
commit
f276e83e9a
  1. 4
      playbooks/own/libgd3-fix-for-php8.yml

4
playbooks/own/libgd3-fix-for-php81.yml → playbooks/own/libgd3-fix-for-php8.yml

@ -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
Loading…
Cancel
Save