mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-01 22:35:47 +02:00
Update to 2023-07-17 17:00
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
dokuwiki_id: 1
|
||||
|
||||
# Version to deploy
|
||||
dokuwiki_version: 2020-07-29
|
||||
dokuwiki_version: 2023-04-04a
|
||||
# The sha1 checksum of the archive
|
||||
dokuwiki_archive_sha1: 119f3875d023d15070068a6aca1e23acd7f9a19a
|
||||
dokuwiki_archive_sha256: 153c99cf42b9068b1ec21a2c765b862a44b374ad2f1a39223f5511a982b160bb
|
||||
|
||||
# Root dir where the app will be installed. Each instance must have a different install path
|
||||
dokuwiki_root_dir: /opt/dokuwiki_{{ dokuwiki_id }}
|
||||
@@ -20,7 +20,7 @@ dokuwiki_archive_url: https://download.dokuwiki.org/src/dokuwiki/dokuwiki-{{ dok
|
||||
# The user account under which PHP is executed
|
||||
dokuwiki_php_user: php-dokuwiki_{{ dokuwiki_id }}
|
||||
|
||||
dokuwiki_php_version: 74
|
||||
dokuwiki_php_version: 82
|
||||
|
||||
# The name of the PHP-FPM pool to use
|
||||
# dokuwiki_php_fpm_pool: php70
|
||||
@@ -28,8 +28,8 @@ dokuwiki_php_version: 74
|
||||
# List of default DokuWiki plugins
|
||||
dokuwiki_plugins:
|
||||
todo:
|
||||
archive_name: dokuwiki-plugin-todo-stable.zip
|
||||
url: https://github.com/leibler/dokuwiki-plugin-todo/archive/stable.zip
|
||||
archive_name: dokuwiki-plugin-todo-latest.zip
|
||||
url: https://github.com/leibler/dokuwiki-plugin-todo/archive/refs/tags/latest.zip
|
||||
note:
|
||||
archive_name: dokuwiki_note-master.zip
|
||||
url: https://github.com/LarsGit223/dokuwiki_note/archive/master.zip
|
||||
@@ -60,9 +60,9 @@ dokuwiki_plugins:
|
||||
changes:
|
||||
archive_name: changes-master.zip
|
||||
url: https://github.com/cosmocode/changes/archive/master.zip
|
||||
pagemove:
|
||||
archive_name: DokuWiki-Pagemove-Plugin-master.zip
|
||||
url: https://github.com/desolat/DokuWiki-Pagemove-Plugin/archive/master.zip
|
||||
#pagemove:
|
||||
# archive_name: DokuWiki-Pagemove-Plugin-master.zip
|
||||
# url: https://github.com/desolat/DokuWiki-Pagemove-Plugin/archive/master.zip
|
||||
loglog:
|
||||
archive_name: dokuwiki-plugin-loglog-master.zip
|
||||
url: https://github.com/splitbrain/dokuwiki-plugin-loglog/archive/master.zip
|
||||
@@ -153,7 +153,7 @@ dokuwiki_base_plugins_to_install:
|
||||
- dw2pdf
|
||||
- loglog
|
||||
- changes
|
||||
- pagemove
|
||||
# - pagemove
|
||||
- authorstats
|
||||
- note
|
||||
# An additional list, so you can just keep the default and add more if needed, in hosts_var
|
||||
|
@@ -85,7 +85,7 @@
|
||||
get_url:
|
||||
url: "{{ dokuwiki_archive_url }}"
|
||||
dest: "{{ dokuwiki_root_dir }}/tmp/"
|
||||
checksum: "sha1:{{ dokuwiki_archive_sha1 }}"
|
||||
checksum: "sha256:{{ dokuwiki_archive_sha256 }}"
|
||||
when: dokuwiki_install_mode != 'none'
|
||||
tags: dokuwiki
|
||||
|
||||
@@ -337,6 +337,15 @@
|
||||
notify: reload httpd
|
||||
tags: dokuwiki
|
||||
|
||||
- include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- ../httpd_php/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
|
||||
- ../httpd_php/vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
|
||||
- ../httpd_php/vars/{{ ansible_distribution }}.yml
|
||||
- ../httpd_php/vars/{{ ansible_os_family }}.yml
|
||||
- ../httpd_php/vars/defaults.yml
|
||||
tags: dokuwiki
|
||||
|
||||
- name: Deploy php configuration
|
||||
template: src=php.conf.j2 dest=/etc/opt/remi/php{{ dokuwiki_php_version }}/php-fpm.d/dokuwiki_{{ dokuwiki_id }}.conf
|
||||
notify: restart php-fpm
|
||||
|
Reference in New Issue
Block a user