Allow files hooks
This commit is contained in:
10
plays/predeploy/lib/files.yml
Normal file
10
plays/predeploy/lib/files.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Copy over files
|
||||
template:
|
||||
src: "{{ app_config_root }}/files/{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
owner: "{{ item.owner | default('dokku') }}"
|
||||
group: "{{ item.group | default('dokku') }}"
|
||||
mode: "{{ item.mode | default(omit) }}"
|
||||
with_items: "{{ config.files }}"
|
||||
when: config.files
|
Reference in New Issue
Block a user