diff options
author | Matt Davis <nitzmahone@users.noreply.github.com> | 2019-09-05 18:50:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-05 18:50:22 -0700 |
commit | 7f4328ad1261295d43f58f3ebc42444ac03cc5ea (patch) | |
tree | 0983f92378ffe33964dcc34645962514640dc962 /test/integration/targets/collections/posix.yml | |
parent | f58899eef7bce5a682a52d33914d644e494ff898 (diff) | |
download | ansible-7f4328ad1261295d43f58f3ebc42444ac03cc5ea.tar.gz |
allow external collections under the ansible NS (#61908)
* fixes #59988
Diffstat (limited to 'test/integration/targets/collections/posix.yml')
-rw-r--r-- | test/integration/targets/collections/posix.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/integration/targets/collections/posix.yml b/test/integration/targets/collections/posix.yml index b94cee777b..63937dc5c3 100644 --- a/test/integration/targets/collections/posix.yml +++ b/test/integration/targets/collections/posix.yml @@ -22,6 +22,16 @@ name: testns.testcoll.maskedmodule register: maskedmodule_out + # ensure the ansible ns can have real collections added to it + - name: call an external module in the ansible namespace + ansible.bullcoll.bullmodule: + register: bullmodule_out + + # ensure the ansible ns cannot override ansible.builtin externally + - name: call an external module in the ansible.builtin collection (should use the built in module) + ansible.builtin.ping: + register: builtin_ping_out + # action in a collection subdir - name: test subdir action FQ testns.testcoll.action_subdir.subdir_ping_action: @@ -59,6 +69,9 @@ - systestmodule_out.source == 'sys' - contentadjmodule_out.source == 'content_adj' - not maskedmodule_out.plugin_path + - bullmodule_out.source == 'user_ansible_bullcoll' + - builtin_ping_out.source is not defined + - builtin_ping_out.ping == 'pong' - subdir_ping_action_out is not changed - subdir_ping_module_out is not changed - granular_out.mu_result == 'thingtocall in leaf' |