1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-16 08:53:15 +00:00

Fix module._name comparisons to also consider FQCNs. (#230)

This commit is contained in:
Felix Fontein 2020-04-24 19:55:31 +02:00 committed by GitHub
parent d31b9dfa99
commit 61cf2b74c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 63 additions and 63 deletions

View file

@ -209,7 +209,7 @@ def main():
],
)
if module._name == 'xenserver_guest_facts':
if module._name in ('xenserver_guest_facts', 'community.general.xenserver_guest_facts'):
module.deprecate("The 'xenserver_guest_facts' module has been renamed to 'xenserver_guest_info'", version='2.13')
result = {'failed': False, 'changed': False}