Allow files hooks
This commit is contained in:
parent
e4517c530d
commit
73771e63cb
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
|
@ -6,6 +6,7 @@
|
||||
- include: ./lib/domain.yml
|
||||
- include: ./lib/database.yml
|
||||
- include: ./lib/hooks.yml
|
||||
- include: ./lib/files.yml
|
||||
- include: ./lib/templates.yml
|
||||
- include: ./lib/volumes.yml
|
||||
- include: ./lib/env.yml
|
||||
|
Reference in New Issue
Block a user