summaryrefslogtreecommitdiffstats
path: root/roles/openshift_resource/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_resource/tasks/main.yml')
-rw-r--r--roles/openshift_resource/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_resource/tasks/main.yml b/roles/openshift_resource/tasks/main.yml
index 698efea..d44d2e0 100644
--- a/roles/openshift_resource/tasks/main.yml
+++ b/roles/openshift_resource/tasks/main.yml
@@ -13,10 +13,10 @@
set_fact: tmpl="{{ results.stdout | from_yaml }}"
when: template.find(".json") == -1
- - include: template.yml
+ - include_tasks: template.yml
when: tmpl.kind == "Template"
- - include: resource.yml
+ - include_tasks: resource.yml
when: tmpl.kind != "Template"
run_once: true