Use flat file copy
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
45acb9f5c7
commit
5b4a19040f
|
@ -52,6 +52,18 @@
|
||||||
with_items:
|
with_items:
|
||||||
- src: config.json
|
- src: config.json
|
||||||
dest: /var/lib/alerta/config.json
|
dest: /var/lib/alerta/config.json
|
||||||
|
|
||||||
|
# Note(decentral1se): can't use "template" module here
|
||||||
|
# because there are {{ }} jinja markers in this file!
|
||||||
|
- name: Copy over email templates
|
||||||
|
become: true
|
||||||
|
copy:
|
||||||
|
src: "{{ item.src }}"
|
||||||
|
dest: "{{ item.dest }}"
|
||||||
|
owner: "{{ docker_user_uid }}"
|
||||||
|
group: "{{ docker_user_gid }}"
|
||||||
|
mode: 0664
|
||||||
|
with_items:
|
||||||
- src: email.tmpl
|
- src: email.tmpl
|
||||||
dest: /var/lib/alerta/email.tmpl
|
dest: /var/lib/alerta/email.tmpl
|
||||||
|
|
||||||
|
|
Reference in New Issue