dokuwiki: add ability to checkout custom theme repo
This commit is contained in:
parent
79012fb7f8
commit
7ec61f45b3
2 changed files with 17 additions and 0 deletions
|
@ -42,3 +42,18 @@
|
|||
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 }}"
|
||||
force: true
|
||||
depth: 1
|
||||
single_branch: true
|
||||
track_submodules: true
|
||||
accept_hostkey: true
|
||||
accept_newhostkey: true
|
||||
when:
|
||||
- dokuwiki__custom_theme_git_url != ""
|
||||
- dokuwiki__custom_theme_name != ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue