dokouwiki: add option which theme branch to check out
This commit is contained in:
parent
e943a541e5
commit
b5ddebcada
3 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@ None.
|
|||
- `dokuwiki__php_user`: User of your php-fpm process, default `www-data`
|
||||
- `dokuwiki__nginx_user`: User of your nginx process, default `nginx`
|
||||
- `dokuwiki__custom_theme_git_url`: Clone URL of custom theme (HTTPS only)
|
||||
- `dokuwiki__custom_theme_version`: Version (git branch, tag, ...) to checkout, default main
|
||||
- `dokuwiki__custom_theme_name`: Name of the directory into which the custom theme is cloned
|
||||
|
||||
## nginx Configuration
|
||||
|
|
|
@ -4,4 +4,5 @@ dokuwiki__php_version: "{{ dokuwiki__php_versions[ansible_distribution + '-' + a
|
|||
dokuwiki__php_user: "www-data"
|
||||
dokuwiki__nginx_user: "nginx"
|
||||
dokuwiki__custom_theme_git_url: ""
|
||||
dokuwiki__custom_theme_version: "main"
|
||||
dokuwiki__custom_theme_name: ""
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
ansible.builtin.git:
|
||||
repo: "{{ dokuwiki__custom_theme_git_url }}"
|
||||
dest: "{{ dokuwiki__installpath }}/lib/tpl/{{ dokuwiki__custom_theme_name }}"
|
||||
version: "{{ dokuwiki__custom_theme_version }}"
|
||||
force: true
|
||||
depth: 1
|
||||
single_branch: true
|
||||
|
|
Loading…
Add table
Reference in a new issue