dokuwiki: update role to support Debian 12

This commit is contained in:
June 2024-12-08 18:37:41 +01:00
parent 19abc5f585
commit 03e994b41f
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
4 changed files with 14 additions and 3 deletions
roles/dokuwiki/tasks

View file

@ -1,3 +1,13 @@
- name: set php version to target
ansible.builtin.set_fact:
dokuwiki__php_version: '7.4'
when: dokuwiki__php_version is undefined and ansible_facts['distribution'] == "Debian" and ansible_facts['distribution_major_version'] == "11"
- name: set php version to target
ansible.builtin.set_fact:
dokuwiki__php_version: '8.2'
when: dokuwiki__php_version is undefined and ansible_facts['distribution'] == "Debian" and ansible_facts['distribution_major_version'] == "12"
- name: Install php-fpm
become: true
ansible.builtin.apt: