This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/plays/predeploy/lib/files.yml

12 lines
335 B
YAML
Raw Normal View History

2020-04-16 10:09:59 +00:00
---
- name: Copy over files
become: true
2020-04-16 10:09:59 +00:00
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