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
Raw Normal View History

2020-04-14 11:02:16 +00:00
---
- name: Copy over template files
become: true
2020-04-14 11:02:16 +00:00
template:
2020-04-14 13:25:48 +00:00
src: "{{ app_config_root }}/templates/{{ item.src }}"
2020-04-14 11:02:16 +00:00
dest: "{{ item.dest }}"
owner: "{{ item.owner | default('dokku') }}"
group: "{{ item.group | default('dokku') }}"
mode: "{{ item.mode | default(omit) }}"
2020-04-14 11:44:09 +00:00
with_items: "{{ config.templates }}"
when: config.templates