dokuwiki: add option to checkout custom design repo
All checks were successful
/ Ansible Lint (push) Successful in 1m44s
All checks were successful
/ Ansible Lint (push) Successful in 1m44s
This commit is contained in:
parent
79012fb7f8
commit
7271426502
3 changed files with 25 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
- name: Install php-fpm
|
||||
- name: Install dependencies
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
|
@ -9,6 +9,7 @@
|
|||
- php-intl
|
||||
- php-gd
|
||||
- php-sqlite3
|
||||
- git
|
||||
diff: false
|
||||
|
||||
- name: Ensure `php-fpm` is enabled
|
||||
|
@ -42,3 +43,17 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
|
||||
- name: checkout custom theme git repo
|
||||
become: true
|
||||
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
|
||||
track_submodules: true
|
||||
when:
|
||||
- dokuwiki__custom_theme_git_url != ""
|
||||
- dokuwiki__custom_theme_name != ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue