diff --git a/plays/predeploy/lib/templates.yml b/plays/predeploy/lib/templates.yml index aad5ced..3e99719 100644 --- a/plays/predeploy/lib/templates.yml +++ b/plays/predeploy/lib/templates.yml @@ -3,7 +3,8 @@ template: src: "{{ app_config_root }}/templates/{{ item.src }}" dest: "{{ item.dest }}" - owner: dokku - group: dokku + owner: "{{ item.owner | default('dokku') }}" + group: "{{ item.group | default('dokku') }}" + mode: "{{ item.mode | default(omit) }}" with_items: "{{ config.templates }}" when: config.templates