dokuwiki: Refactor support for multiple OS versions
All checks were successful
/ Ansible Lint (pull_request) Successful in 1m31s
/ Ansible Lint (push) Successful in 1m34s

This commit is contained in:
jtbx 2024-12-08 19:27:26 +01:00
commit 4fff0a9d0d
3 changed files with 5 additions and 10 deletions

View file

@ -1,13 +1,3 @@
- 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: