Allow to specify more options for templating
This commit is contained in:
parent
a75098c9e1
commit
4e8d3f544d
@ -3,7 +3,8 @@
|
|||||||
template:
|
template:
|
||||||
src: "{{ app_config_root }}/templates/{{ item.src }}"
|
src: "{{ app_config_root }}/templates/{{ item.src }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
owner: dokku
|
owner: "{{ item.owner | default('dokku') }}"
|
||||||
group: dokku
|
group: "{{ item.group | default('dokku') }}"
|
||||||
|
mode: "{{ item.mode | default(omit) }}"
|
||||||
with_items: "{{ config.templates }}"
|
with_items: "{{ config.templates }}"
|
||||||
when: config.templates
|
when: config.templates
|
||||||
|
Reference in New Issue
Block a user