diff --git a/lxc-php/tasks/php74.yml b/lxc-php/tasks/php74.yml index a3a7eb44..eaae77fd 100644 --- a/lxc-php/tasks/php74.yml +++ b/lxc-php/tasks/php74.yml @@ -5,6 +5,12 @@ name: "{{ lxc_php_version }}" container_command: "DEBIAN_FRONTEND=noninteractive apt install -y php-fpm php-cli php-gd php-intl php-imap php-ldap php-mysql php-pgsql php-sqlite3 php-curl php-zip php-mbstring php-zip composer libphp-phpmailer" +- name: "{{ lxc_php_version }} - fix bullseye repository" + replace: + dest: "/var/lib/lxc/{{ lxc_php_version }}/rootfs/etc/apt/sources.list" + regexp: 'bullseye/updates' + replace: 'bullseye-security' + - name: "{{ lxc_php_version }} - Copy evolinux PHP configuration" template: src: z-evolinux-defaults.ini.j2 diff --git a/lxc-php/tasks/php80.yml b/lxc-php/tasks/php80.yml index 33f6d409..4f725f0b 100644 --- a/lxc-php/tasks/php80.yml +++ b/lxc-php/tasks/php80.yml @@ -5,6 +5,12 @@ name: "{{ lxc_php_version }}" container_command: "DEBIAN_FRONTEND=noninteractive apt install -y wget apt-transport-https gnupg" +- name: "{{ lxc_php_version }} - fix bullseye repository" + replace: + dest: "/var/lib/lxc/{{ lxc_php_version }}/rootfs/etc/apt/sources.list" + regexp: 'bullseye/updates' + replace: 'bullseye-security' + - name: "{{ lxc_php_version }} - Add sury repo" lineinfile: dest: "/var/lib/lxc/{{ lxc_php_version }}/rootfs/etc/apt/sources.list.d/sury.list"