Update to running setup.

This commit is contained in:
Lars Hahn 2026-06-16 15:10:43 +02:00
parent 5d6f044b72
commit 0150bf732a
2 changed files with 22 additions and 6 deletions

View File

@ -0,0 +1,2 @@
install_date: 'Do 14 Mai 2026 19:50:56 '
version: ''

View File

@ -9,17 +9,31 @@
- ca-certificates
- gnupg2
- lsb-release
- libmagickcore-6.q16-6-extra # SVG for imagick php module
- name: install PHP sury repository key
apt_key:
- name: Create keyrings directory
file:
path: /etc/apt/keyrings
state: directory
mode: '0755'
- name: Download Sury PHP repository key
get_url:
url: https://packages.sury.org/php/apt.gpg
state: present
dest: /etc/apt/keyrings/sury-php.gpg
mode: '0644'
- name: install PHP sury repository
- name: Add Sury PHP repository
apt_repository:
repo: "deb https://packages.sury.org/php/ {{ ansible_distribution_release }} main"
repo: >-
deb [signed-by=/etc/apt/keyrings/sury-php.gpg]
https://packages.sury.org/php/
{{ ansible_distribution_release }} main
state: present
filename: sury-php
- name: Update apt cache
apt:
update_cache: yes
- name: install PHP and recommendations
apt: