summaryrefslogtreecommitdiff
path: root/test/integration/targets/path_lookups/testplay.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/path_lookups/testplay.yml')
-rw-r--r--test/integration/targets/path_lookups/testplay.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/integration/targets/path_lookups/testplay.yml b/test/integration/targets/path_lookups/testplay.yml
index 8bf45532..bc05c7e5 100644
--- a/test/integration/targets/path_lookups/testplay.yml
+++ b/test/integration/targets/path_lookups/testplay.yml
@@ -4,9 +4,11 @@
pre_tasks:
- name: remove {{ remove }}
file: path={{ playbook_dir }}/{{ remove }} state=absent
- roles:
- - showfile
- post_tasks:
+ tasks:
+ - import_role:
+ name: showfile
+ tasks_from: notmain.yml
+
- name: from play
set_fact: play_result="{{lookup('file', 'testfile')}}"