mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-27 00:51:39 +08:00
include file/template name in status line
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user