parent
19abc5f585
commit
03e994b41f
4 changed files with 14 additions and 3 deletions
|
@ -10,6 +10,7 @@ Please download it from https://download.dokuwiki.org.
|
||||||
The following distributions are supported:
|
The following distributions are supported:
|
||||||
|
|
||||||
- Debian 11
|
- Debian 11
|
||||||
|
- Debian 12
|
||||||
|
|
||||||
## Required Arguments
|
## Required Arguments
|
||||||
|
|
||||||
|
@ -18,7 +19,7 @@ None.
|
||||||
## Optional Argument
|
## Optional Argument
|
||||||
|
|
||||||
- `dokuwiki__installpath`: Where your DokiWiki lives, default `/var/www/dokuwiki`
|
- `dokuwiki__installpath`: Where your DokiWiki lives, default `/var/www/dokuwiki`
|
||||||
- `dokuwiki__php_version`: Your PHP version, default `7.4`
|
- `dokuwiki__php_version`: Your PHP version, default `7.4` for Debian 11 and `8.2` for Debian 12
|
||||||
- `dokuwiki__php_user`: User of your php-fpm process, default `www-data`
|
- `dokuwiki__php_user`: User of your php-fpm process, default `www-data`
|
||||||
- `dokuwiki__nginx_user`: User of your nginx process, default `nginx`
|
- `dokuwiki__nginx_user`: User of your nginx process, default `nginx`
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
dokuwiki__installpath: "/var/www/dokuwiki"
|
dokuwiki__installpath: "/var/www/dokuwiki"
|
||||||
dokuwiki__php_version: "7.4"
|
|
||||||
dokuwiki__php_user: "www-data"
|
dokuwiki__php_user: "www-data"
|
||||||
dokuwiki__nginx_user: "nginx"
|
dokuwiki__nginx_user: "nginx"
|
||||||
|
|
|
@ -4,5 +4,6 @@ dependencies:
|
||||||
vars:
|
vars:
|
||||||
distribution_check__distribution_support_spec:
|
distribution_check__distribution_support_spec:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
major_versions:
|
||||||
- 11
|
- 11
|
||||||
|
- 12
|
||||||
|
|
|
@ -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
|
- name: Install php-fpm
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue