1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-04 01:13:00 +00:00

Adjust deprecation versions.

This commit is contained in:
Felix Fontein 2020-06-13 16:51:18 +02:00
parent f9589d78a8
commit 7bb008a964
136 changed files with 549 additions and 678 deletions

View file

@ -380,7 +380,8 @@ def main():
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')
"When called with the new name it no longer returns 'ansible_facts'",
version='3.0.0', collection_name='community.general') # was Ansible 2.13
module.exit_json(changed=False, ansible_facts=results)
else:
module.exit_json(changed=False, **results)