You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
450 B

---
- name: Solve problem with libgd3 for php-gd
hosts: [ 'debian10' ]
when: (php_version != '7.4')
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