summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/plugin_loader/normal/underscore.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/plugin_loader/normal/underscore.yml')
-rw-r--r--test/integration/targets/plugin_loader/normal/underscore.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/integration/targets/plugin_loader/normal/underscore.yml b/test/integration/targets/plugin_loader/normal/underscore.yml
new file mode 100644
index 0000000..fb5bbad
--- /dev/null
+++ b/test/integration/targets/plugin_loader/normal/underscore.yml
@@ -0,0 +1,15 @@
+- hosts: testhost
+ gather_facts: false
+ tasks:
+ - name: Load a deprecated module
+ underscore:
+ register: res
+
+ - name: Load a deprecated module that is a symlink
+ symlink:
+ register: sym
+
+ - assert:
+ that:
+ - res.source == 'legacy_library_dir'
+ - sym.source == 'legacy_library_dir'