Adjust removal versions (#521)

* Adjust 2.11 and later Ansible versions to collection versions.

* Remove unnecessary changelog.

* Adjust Ansible 2.10 to community.general 0.2.0 (first 'proper' release).

* Caught some non-properly prefixed versions.

* Update plugins/modules/database/mysql/mysql_replication.py
This commit is contained in:
Felix Fontein 2020-06-16 21:24:42 +02:00 committed by GitHub
commit f16a93f976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 37 additions and 36 deletions

View file

@ -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) has been deprecated for Ansible 2.10. Please remove entry.
- Parameter I(token) has been deprecated for community.general 0.2.0. Please remove entry.
options:
project_id:
description:
@ -66,7 +66,7 @@ options:
type: bool
token:
description:
- This parameter (API token) has been deprecated in Ansible 2.10. Please remove it from your tasks.
- This parameter (API token) has been deprecated in community.general 0.2.0. Please remove it from your tasks.
required: false
type: str
@ -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",
module.deprecate("Parameter 'token' is deprecated since community.general 0.2.0. 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"]

View file

@ -66,7 +66,7 @@ options:
deployment_message:
description:
- Message about the deployment.
- C(message) alias is deprecated in Ansible 2.10, since it is used internally by Ansible Core Engine.
- C(message) alias is deprecated in community.general 0.2.0, since it is used internally by Ansible Core Engine.
aliases: ['message']
version_added: '0.2.0'

View file

@ -66,7 +66,7 @@ options:
- A message to include with notifications for this monitor.
- Email notifications can be sent to specific users by using the same '@username' notation as events.
- Monitor message template variables can be accessed by using double square brackets, i.e '[[' and ']]'.
- C(message) alias is deprecated in Ansible 2.10, since it is used internally by Ansible Core Engine.
- C(message) alias is deprecated in community.general 0.2.0, since it is used internally by Ansible Core Engine.
type: str
aliases: [ 'message' ]
silenced: