mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Clean up deprecations (#504)
* Adjust deprecation versions. * Remove redirects that are already made in ansible/ansible's ansible_builtin_runtime.yml * Remove modules that were moved to the google.cloud collection according to ansible/ansible's ansible_builtin_runtime.yml. * The _info module is in google.cloud. * The gcp doc_fragment is a copy of the one in google.cloud and is only used by one lookup. Mark as deprecated/internal. * Remove entries of modules that no longer exist. * Update ignore.txt. * Try to fix test. * Remove debug output.
This commit is contained in:
@@ -17,7 +17,7 @@ author:
|
||||
short_description: Notify airbrake about app deployments
|
||||
description:
|
||||
- Notify airbrake about app deployments (see U(https://airbrake.io/docs/api/#deploys-v4)).
|
||||
- Parameter I(token) is deprecated in Ansible 2.10. Please remove entry.
|
||||
- Parameter I(token) has been deprecated for Ansible 2.10. Please remove entry.
|
||||
options:
|
||||
project_id:
|
||||
description:
|
||||
@@ -131,7 +131,8 @@ def main():
|
||||
if module.params["revision"]:
|
||||
params["deploy[scm_revision]"] = module.params["revision"]
|
||||
|
||||
module.deprecate("Parameter 'token' is deprecated in 2.10. Please remove it and use 'project_id' and 'project_key' instead", version='2.14')
|
||||
module.deprecate("Parameter 'token' is deprecated in 2.10. Please remove it and use 'project_id' and 'project_key' instead",
|
||||
version='3.0.0', collection_name='community.general') # was Ansible 2.14
|
||||
|
||||
params["api_key"] = module.params["token"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user