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/templates.yml

12 lines
356 B
YAML

---
- name: Copy over template files
become: true
template:
src: "{{ app_config_root }}/templates/{{ item.src }}"
dest: "{{ item.dest }}"
owner: "{{ item.owner | default('dokku') }}"
group: "{{ item.group | default('dokku') }}"
mode: "{{ item.mode | default(omit) }}"
with_items: "{{ config.templates }}"
when: config.templates