php: drop apt_preferences(5) file for sury

It doesn’t work as expected, and all covered cases should already be
available from http://pub.evolix.org/evolix/dists/ (if
$release_name-phpXY is not available, $release should probably be fixed
or the correct suite added to the repository).
This commit is contained in:
David Prevot 2024-01-17 16:45:36 +01:00
parent 72727a8332
commit 422f007e9d
2 changed files with 0 additions and 16 deletions

View File

@ -1,7 +0,0 @@
Package: php* libapache2-mod-php* libpcre2* libzip4* libgd* libpcre3*
Pin: origin packages.sury.org
Pin-Priority: 999
Package: *
Pin: origin packages.sury.org
Pin-Priority: 50

View File

@ -27,15 +27,6 @@
repo: "deb [signed-by={{ apt_keyring_dir }}/pub_evolix.asc] http://pub.evolix.org/evolix {{ ansible_distribution_release }}-php{{ php_version | replace('.', '')}} main"
filename: evolix-php
state: present
when:
- ansible_distribution_release == "bullseye"
- name: Setup deb.sury.org repository - Add preferences file
ansible.builtin.copy:
src: sury.preferences
dest: /etc/apt/preferences.d/z-sury
when:
- ansible_distribution_release != "bullseye"
- name: Setup deb.sury.org repository - Add GPG key
ansible.builtin.copy: