Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
test:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
strategy:
matrix:
python-version: ['3.14']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
test:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- run: mkdir $HOME/.ssh
- name: Remove and cleanup mysql
Expand Down
7 changes: 7 additions & 0 deletions roles/php/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,17 @@
mode: '0644'
notify: reload php-fpm

- name: Check for ImageMagick 6 policy.xml
stat:
path: /etc/ImageMagick-6/policy.xml
register: imagemagick6_policy

# ImageMagick 7 (Ubuntu 26.04, Debian 13) doesn't block PDFs by default
- name: Change ImageMagick policy.xml to allow for PDFs
replace:
path: /etc/ImageMagick-6/policy.xml
regexp: '<policy domain="coder" rights="none" pattern="PDF" />'
replace: '<policy domain="coder" rights="read" pattern="PDF" />'
backup: no
when: imagemagick6_policy.stat.exists
notify: reload php-fpm