mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Fix module._name comparisons to also consider FQCNs. (#230)
This commit is contained in:
parent
d31b9dfa99
commit
61cf2b74c4
63 changed files with 63 additions and 63 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue