mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
* Fix crash in case of tombstoning.
* Extend tests.
(cherry picked from commit c23bbb5c4a)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -23,3 +23,15 @@
|
||||
# Local collection module (that exist or not)
|
||||
- "'testns.testcoll.collection_module' is community.general.a_module"
|
||||
- "'testns.testcoll.foobar' is not community.general.a_module"
|
||||
|
||||
- name: Test a_module in case of routing
|
||||
assert:
|
||||
that:
|
||||
# Redirected module
|
||||
- "'ufw' is community.general.a_module"
|
||||
# Redirected module where target collection does not exist
|
||||
# (the target collection must not have been installed in CI!)
|
||||
- "'onyx_pfc_interface' is not community.general.a_module"
|
||||
# Tombstoned module
|
||||
- "'community.general.docker_image_facts' is not community.general.a_module"
|
||||
when: ansible_version.string is version('2.10.0', '>=')
|
||||
|
||||
Reference in New Issue
Block a user