Rename file to filename

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-04-11 21:09:49 +00:00
parent 8cb5e06226
commit 565b18e27e

View file

@ -13,9 +13,9 @@
when: template_fullpath is defined
run_once: true
- name: Copy file {{file}} to temporary file ({{tmpfile.path}})
copy: src={{roles_path}}/openshift-apps/{{app}}/files/{{file}} dest={{tmpfile.path}}
when: file is defined
- name: Copy file {{filename}} to temporary file ({{tmpfile.path}})
copy: src={{roles_path}}/openshift-apps/{{app}}/files/{{filename}} dest={{tmpfile.path}}
when: filename is defined
run_once: true
- name: Call `oc apply` on the copied file