mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-05 15:59:09 -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
|
@ -383,7 +383,7 @@ def main():
|
|||
|
||||
results = {'onepassword': OnePasswordInfo().run()}
|
||||
|
||||
if module._name == 'onepassword_facts':
|
||||
if module._name in ('onepassword_facts', 'community.general.onepassword_facts'):
|
||||
module.deprecate("The 'onepassword_facts' module has been renamed to 'onepassword_info'. "
|
||||
"When called with the new name it no longer returns 'ansible_facts'", version='2.13')
|
||||
module.exit_json(changed=False, ansible_facts=results)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue