try roles_path
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
c1264fe37d
commit
c7f1962ad2
1 changed files with 2 additions and 2 deletions
|
@ -4,12 +4,12 @@
|
|||
run_once: true
|
||||
|
||||
- name: Copy template to temporary file ({{tmpfile.path}})
|
||||
template: src={{ansible}}/roles/openshift-apps/{{app}}/templates/{{template}} dest={{tmpfile.path}}.yml
|
||||
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}})
|
||||
copy: src={{ansible}}/roles/openshift-apps/{{app}}/files/{{file}} dest={{tmpfile.path}}.yml
|
||||
copy: src={{roles_path}}/openshift-apps/{{app}}/files/{{file}} dest={{tmpfile.path}}.yml
|
||||
when: file is defined
|
||||
run_once: true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue