This commit is contained in:
parent
03e994b41f
commit
b67f12861d
3 changed files with 5 additions and 10 deletions
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
dokuwiki__installpath: "/var/www/dokuwiki"
|
||||
dokuwiki__php_version: "{{ dokuwiki__php_versions[ansible_distribution + '-' + ansible_distribution_major_version] }}"
|
||||
dokuwiki__php_user: "www-data"
|
||||
dokuwiki__nginx_user: "nginx"
|
||||
|
|
|
@ -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:
|
||||
|
|
4
roles/dokuwiki/vars/main.yml
Normal file
4
roles/dokuwiki/vars/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
dokuwiki__php_versions:
|
||||
debian-11: "7.4"
|
||||
debian-12: "8.2"
|
Loading…
Reference in a new issue