mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
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:
parent
7ef43c60df
commit
f16a93f976
21 changed files with 37 additions and 36 deletions
|
@ -30,7 +30,7 @@ options:
|
|||
choices: [ joyent, joyent-minimal, lx, kvm, bhyve ]
|
||||
default: joyent
|
||||
description:
|
||||
- Type of virtual machine. The C(bhyve) option was added in Ansible 2.10.
|
||||
- Type of virtual machine. The C(bhyve) option was added in community.general 0.2.0.
|
||||
boot:
|
||||
required: false
|
||||
description:
|
||||
|
|
|
@ -28,7 +28,7 @@ options:
|
|||
C(getslave) (SHOW SLAVE STATUS),
|
||||
C(startslave) (START SLAVE),
|
||||
C(stopslave) (STOP SLAVE),
|
||||
C(resetmaster) (RESET MASTER) - supported from Ansible 2.10,
|
||||
C(resetmaster) (RESET MASTER) - supported since community.general 0.2.0,
|
||||
C(resetslave) (RESET SLAVE),
|
||||
C(resetslaveall) (RESET SLAVE ALL).
|
||||
type: str
|
||||
|
|
|
@ -79,7 +79,7 @@ options:
|
|||
- The entries will be written out in a specific order.
|
||||
With this option you can control by which field they are ordered first, second and last.
|
||||
s=source, d=databases, u=users.
|
||||
This option is deprecated since 2.9 and will be removed in 2.11.
|
||||
This option is deprecated since 2.9 and will be removed in community.general 3.0.0.
|
||||
Sortorder is now hardcoded to sdu.
|
||||
type: str
|
||||
default: sdu
|
||||
|
@ -670,7 +670,8 @@ def main():
|
|||
method=dict(type='str', default='md5', choices=PG_HBA_METHODS),
|
||||
netmask=dict(type='str'),
|
||||
options=dict(type='str'),
|
||||
order=dict(type='str', default="sdu", choices=PG_HBA_ORDERS),
|
||||
order=dict(type='str', default="sdu", choices=PG_HBA_ORDERS,
|
||||
removed_in_version='3.0.0', removed_from_collection='community.general'),
|
||||
state=dict(type='str', default="present", choices=["absent", "present"]),
|
||||
users=dict(type='str', default='all')
|
||||
)
|
||||
|
|
|
@ -330,7 +330,7 @@ EXAMPLES = r'''
|
|||
type: foreign_data_wrapper
|
||||
role: reader
|
||||
|
||||
# Available since Ansible 2.10
|
||||
# Available since community.general 0.2.0
|
||||
- name: GRANT ALL PRIVILEGES ON TYPE customtype TO reader
|
||||
postgresql_privs:
|
||||
db: test
|
||||
|
@ -390,7 +390,7 @@ EXAMPLES = r'''
|
|||
role: reader
|
||||
target_roles: librarian
|
||||
|
||||
# Available since Ansible 2.10
|
||||
# Available since community.general 0.2.0
|
||||
- name: Grant type privileges for pg_catalog.numeric type to alice
|
||||
postgresql_privs:
|
||||
type: type
|
||||
|
|
|
@ -554,7 +554,7 @@ def main():
|
|||
try:
|
||||
file_args = module.load_file_common_arguments(params, path=b_dest)
|
||||
except TypeError:
|
||||
# The path argument is only supported in Ansible 2.10+. Fall back to
|
||||
# The path argument is only supported in Ansible-base 2.10+. Fall back to
|
||||
# pre-2.10 behavior for older Ansible versions.
|
||||
params['path'] = b_dest
|
||||
file_args = module.load_file_common_arguments(params)
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -35,7 +35,7 @@ notes:
|
|||
deprecated:
|
||||
removed_in: 3.0.0 # was Ansible 2.14
|
||||
why: 'The current "ldap_attr" module does not support LDAP attribute insertions or deletions with objectClass dependencies.'
|
||||
alternative: 'Use M(ldap_attrs) instead. Deprecated in Ansible 2.10.'
|
||||
alternative: 'Use M(ldap_attrs) instead. Deprecated in community.general 0.2.0.'
|
||||
author:
|
||||
- Jiri Tyr (@jtyr)
|
||||
requirements:
|
||||
|
|
|
@ -45,7 +45,7 @@ options:
|
|||
description:
|
||||
- CA certificate string used to validate the feed source SSL certificate.
|
||||
This can be the file content or the path to the file.
|
||||
The ca_cert alias will be removed in Ansible 2.14.
|
||||
The ca_cert alias will be removed in community.general 3.0.0.
|
||||
type: str
|
||||
aliases: [ importer_ssl_ca_cert, ca_cert ]
|
||||
feed_client_cert:
|
||||
|
@ -57,7 +57,7 @@ options:
|
|||
single file containing both the certificate and private key. This can be
|
||||
the file content or the path to the file.
|
||||
- If not specified the default value will come from client_cert. Which will
|
||||
change in Ansible 2.14.
|
||||
change in community.general 3.0.0.
|
||||
type: str
|
||||
aliases: [ importer_ssl_client_cert ]
|
||||
feed_client_key:
|
||||
|
@ -66,7 +66,7 @@ options:
|
|||
assuming it is not included in the certificate file itself. This can be
|
||||
the file content or the path to the file.
|
||||
- If not specified the default value will come from client_key. Which will
|
||||
change in Ansible 2.14.
|
||||
change in community.general 3.0.0.
|
||||
type: str
|
||||
aliases: [ importer_ssl_client_key ]
|
||||
name:
|
||||
|
@ -564,13 +564,14 @@ def main():
|
|||
importer_ssl_client_cert = module.params['client_cert']
|
||||
module.deprecate("To specify client certificates to be used with the repo to sync, and not for communication with the "
|
||||
"Pulp instance, use the new options `feed_client_cert` and `feed_client_key` (available since "
|
||||
"Ansible 2.9.2). Until Ansible 2.14, the default value for `feed_client_cert` will be taken from "
|
||||
"`client_cert` if only the latter is specified",
|
||||
"Ansible 2.9.2). Until community.general 3.0.0, the default value for `feed_client_cert` will be "
|
||||
"taken from `client_cert` if only the latter is specified",
|
||||
version="3.0.0", collection_name='community.general') # was Ansible 2.14
|
||||
importer_ssl_client_key = module.params['feed_client_key']
|
||||
if importer_ssl_client_key is None and module.params['client_key'] is not None:
|
||||
importer_ssl_client_key = module.params['client_key']
|
||||
module.deprecate("In Ansible 2.9.2 `feed_client_key` option was added. Until 2.14 the default value will come from client_key option",
|
||||
module.deprecate("In Ansible 2.9.2 `feed_client_key` option was added. Until community.general 3.0.0 the default "
|
||||
"value will come from client_key option",
|
||||
version="3.0.0", collection_name='community.general') # was Ansible 2.14
|
||||
proxy_host = module.params['proxy_host']
|
||||
proxy_port = module.params['proxy_port']
|
||||
|
|
|
@ -18,7 +18,7 @@ description:
|
|||
- When the user exists and state=blocked, the user will be blocked.
|
||||
- When changes are made to user, the user will be updated.
|
||||
notes:
|
||||
- From Ansible 2.10 and onwards, name, email and password are optional while deleting the user.
|
||||
- From community.general 0.2.0 and onwards, name, email and password are optional while deleting the user.
|
||||
author:
|
||||
- Werner Dijkerman (@dj-wasabi)
|
||||
- Guillaume Martinez (@Lunik)
|
||||
|
|
|
@ -247,7 +247,7 @@ def update_jks_perm(module, keystore_path):
|
|||
try:
|
||||
file_args = module.load_file_common_arguments(module.params, path=keystore_path)
|
||||
except TypeError:
|
||||
# The path argument is only supported in Ansible-baes 2.10+. Fall back to
|
||||
# The path argument is only supported in Ansible-base 2.10+. Fall back to
|
||||
# pre-2.10 behavior for older Ansible versions.
|
||||
module.params['path'] = keystore_path
|
||||
file_args = module.load_file_common_arguments(module.params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue