mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-29 04:19:15 -07:00
Remove deprecated modules scheduled for removal in 3.0.0 (#1924)
* Remove deprecated modules scheduled for removal in 3.0.0. * Update BOTMETA. * Update ignore-2.12.txt. * Next release will be 3.0.0.
This commit is contained in:
parent
98af8161b2
commit
081c534d40
161 changed files with 167 additions and 10434 deletions
|
@ -1 +0,0 @@
|
|||
onepassword_info.py
|
|
@ -20,9 +20,6 @@ requirements:
|
|||
notes:
|
||||
- Tested with C(op) version 0.5.5
|
||||
- "Based on the C(onepassword) lookup plugin by Scott Buchanan <sbuchanan@ri.pn>."
|
||||
- When this module is called with the deprecated C(onepassword_facts) name, potentially sensitive data
|
||||
from 1Password is returned as Ansible facts. Facts are subject to caching if enabled, which means this
|
||||
data could be stored in clear text on disk or in a database.
|
||||
short_description: Gather items from 1Password
|
||||
description:
|
||||
- M(community.general.onepassword_info) wraps the C(op) command line utility to fetch data about one or more 1Password items.
|
||||
|
@ -380,13 +377,7 @@ def main():
|
|||
|
||||
results = {'onepassword': OnePasswordInfo().run()}
|
||||
|
||||
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='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)
|
||||
module.exit_json(changed=False, **results)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue