Allow files hooks

This commit is contained in:
Luke Murphy 2020-04-16 12:09:59 +02:00
parent e4517c530d
commit 73771e63cb
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 11 additions and 0 deletions

View 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

View File

@ -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