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
331 B
YAML

---
- name: Copy over files
become: true
copy:
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