mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix module._name comparisons to also consider FQCNs. (#230)
This commit is contained in:
@@ -385,7 +385,7 @@ def main():
|
||||
)
|
||||
)
|
||||
module = AnsibleModule(argument_spec=argument_spec)
|
||||
if module._name == 'ali_instance_facts':
|
||||
if module._name in ('ali_instance_facts', 'community.general.ali_instance_facts'):
|
||||
module.deprecate("The 'ali_instance_facts' module has been renamed to 'ali_instance_info'", version='2.13')
|
||||
|
||||
if HAS_FOOTMARK is False:
|
||||
|
||||
Reference in New Issue
Block a user