include file/template name in status line

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Ricky Elrod
2017-07-25 18:09:39 +00:00
parent bf4bf2f133
commit 5bec95f3fa

View File

@@ -3,12 +3,12 @@
register: tmpfile
run_once: true
- name: Copy template to temporary file ({{tmpfile.path}})
- name: Copy template {{template}} to temporary file ({{tmpfile.path}})
template: src={{roles_path}}/openshift-apps/{{app}}/templates/{{template}} dest={{tmpfile.path}}.yml
when: template is defined
run_once: true
- name: Copy file to temporary file ({{tmpfile.path}})
- name: Copy file {{file}} to temporary file ({{tmpfile.path}})
copy: src={{roles_path}}/openshift-apps/{{app}}/files/{{file}} dest={{tmpfile.path}}.yml
when: file is defined
run_once: true