mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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
|
@ -5,4 +5,4 @@ minor_changes:
|
||||||
- "airbrake_deployment - Allow passing ``project_id`` and ``project_key`` for v4 api deploy compatibility"
|
- "airbrake_deployment - Allow passing ``project_id`` and ``project_key`` for v4 api deploy compatibility"
|
||||||
|
|
||||||
deprecated_features:
|
deprecated_features:
|
||||||
- "airbrake_deployment - Add deprecation notice for ``token`` parameter and v2 api deploys. This feature will be removed in Ansible 2.14"
|
- "airbrake_deployment - Add deprecation notice for ``token`` parameter and v2 api deploys. This feature will be removed in community.general 3.0.0." # was Ansible 2.14
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
bugfixes:
|
|
||||||
- jenkins_plugin - make compatible to Ansible 2.10 by fixing import.
|
|
|
@ -1,4 +1,4 @@
|
||||||
minor_changes:
|
minor_changes:
|
||||||
- "docker_container - add new ``container_default_behavior`` option (PR https://github.com/ansible/ansible/pull/63419)."
|
- "docker_container - add new ``container_default_behavior`` option (PR https://github.com/ansible/ansible/pull/63419)."
|
||||||
deprecated_features:
|
deprecated_features:
|
||||||
- "docker_container - the default of ``container_default_behavior`` will change from ``compatibility`` to ``no_defaults`` in Ansible 2.14. Set the option to an explicit value to avoid a deprecation warning."
|
- "docker_container - the default of ``container_default_behavior`` will change from ``compatibility`` to ``no_defaults`` in community.general 3.0.0. Set the option to an explicit value to avoid a deprecation warning." # was Ansible 2.14
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
deprecated_features:
|
deprecated_features:
|
||||||
- "docker_container - the ``trust_image_content`` option is now deprecated and will be removed in Ansible 2.14. It has never been used by the module."
|
- "docker_container - the ``trust_image_content`` option is now deprecated and will be removed in community.general 3.0.0. It has never been used by the module." # was Ansible 2.14
|
||||||
|
|
|
@ -2,4 +2,4 @@ minor_changes:
|
||||||
- docker_stack - Added ``stdout``, ``stderr``, and ``rc`` to return values.
|
- docker_stack - Added ``stdout``, ``stderr``, and ``rc`` to return values.
|
||||||
|
|
||||||
deprecated_features:
|
deprecated_features:
|
||||||
- docker_stack - Return values ``out`` and ``err`` have been deprecated and will be removed in Ansible 2.14. Use ``stdout`` and ``stderr`` instead.
|
- "docker_stack - Return values ``out`` and ``err`` have been deprecated and will be removed in community.general 3.0.0. Use ``stdout`` and ``stderr`` instead." # was Ansible 2.14
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
deprecated_features:
|
deprecated_features:
|
||||||
- "docker_container - the default value for ``network_mode`` will change in Ansible 2.14, provided at least one network is specified and ``networks_cli_compatible`` is ``true``. See porting guide, module documentation or deprecation warning for more details."
|
- "docker_container - the default value for ``network_mode`` will change in community.general 3.0.0, provided at least one network is specified and ``networks_cli_compatible`` is ``true``. See porting guide, module documentation or deprecation warning for more details." # was Ansible 2.14
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
minor_changes:
|
minor_changes:
|
||||||
- zabbix_proxy - ``interface`` sub-options ``type`` and ``main`` are now deprecated and will be removed in Ansible 2.14. Also, the values passed to ``interface`` are now checked for correct types and unexpected keys.
|
- "zabbix_proxy - ``interface`` sub-options ``type`` and ``main`` are now deprecated and will be removed in community.general 3.0.0. Also, the values passed to ``interface`` are now checked for correct types and unexpected keys." # was Ansible 2.14
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
deprecated_features:
|
deprecated_features:
|
||||||
- "clc_aa_policy - The ``wait`` option had no effect and will be removed in Ansible 2.14"
|
- "clc_aa_policy - The ``wait`` option had no effect and will be removed in community.general 3.0.0." # was Ansible 2.14
|
||||||
|
|
|
@ -22,9 +22,9 @@ DOCUMENTATION = """
|
||||||
- Retrieve secrets from HashiCorp's vault.
|
- Retrieve secrets from HashiCorp's vault.
|
||||||
notes:
|
notes:
|
||||||
- Due to a current limitation in the HVAC library there won't necessarily be an error if a bad endpoint is specified.
|
- Due to a current limitation in the HVAC library there won't necessarily be an error if a bad endpoint is specified.
|
||||||
- As of Ansible 2.10, only the latest version of a secret is returned when specifying a KV v2 path.
|
- As of community.general 0.2.0, only the latest version of a secret is returned when specifying a KV v2 path.
|
||||||
- As of Ansible 2.10, all options can be supplied via term string (space delimited key=value pairs) or by parameters (see examples).
|
- As of community.general 0.2.0, all options can be supplied via term string (space delimited key=value pairs) or by parameters (see examples).
|
||||||
- As of Ansible 2.10, when C(secret) is the first option in the term string, C(secret=) is not required (see examples).
|
- As of community.general 0.2.0, when C(secret) is the first option in the term string, C(secret=) is not required (see examples).
|
||||||
options:
|
options:
|
||||||
secret:
|
secret:
|
||||||
description: query you are making.
|
description: query you are making.
|
||||||
|
@ -79,7 +79,7 @@ DOCUMENTATION = """
|
||||||
description:
|
description:
|
||||||
- Authentication method to be used.
|
- Authentication method to be used.
|
||||||
- C(userpass) is added in Ansible 2.8.
|
- C(userpass) is added in Ansible 2.8.
|
||||||
- C(aws_iam_login) is added in Ansible 2.10.
|
- C(aws_iam_login) is added in community.general 0.2.0.
|
||||||
env:
|
env:
|
||||||
- name: VAULT_AUTH_METHOD
|
- name: VAULT_AUTH_METHOD
|
||||||
ini:
|
ini:
|
||||||
|
@ -96,7 +96,7 @@ DOCUMENTATION = """
|
||||||
return_format:
|
return_format:
|
||||||
description:
|
description:
|
||||||
- Controls how multiple key/value pairs in a path are treated on return.
|
- Controls how multiple key/value pairs in a path are treated on return.
|
||||||
- C(dict) returns a single dict containing the key/value pairs (same behavior as before Ansible 2.10).
|
- C(dict) returns a single dict containing the key/value pairs (same behavior as before community.general 0.2.0).
|
||||||
- C(values) returns a list of all the values only. Use when you don't care about the keys.
|
- C(values) returns a list of all the values only. Use when you don't care about the keys.
|
||||||
- C(raw) returns the actual API result, which includes metadata and may have the data nested in other keys.
|
- C(raw) returns the actual API result, which includes metadata and may have the data nested in other keys.
|
||||||
choices:
|
choices:
|
||||||
|
@ -198,7 +198,7 @@ EXAMPLES = """
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ lookup('community.general.hashi_vault', 'secret=secret/data/hello token=my_vault_token url=http://myvault_url:8200') }}"
|
msg: "{{ lookup('community.general.hashi_vault', 'secret=secret/data/hello token=my_vault_token url=http://myvault_url:8200') }}"
|
||||||
|
|
||||||
# The following examples work in collection releases after Ansible 2.10
|
# The following examples work in collection releases after community.general 0.2.0
|
||||||
|
|
||||||
- name: secret= is not required if secret is first
|
- name: secret= is not required if secret is first
|
||||||
debug:
|
debug:
|
||||||
|
|
|
@ -30,7 +30,7 @@ options:
|
||||||
choices: [ joyent, joyent-minimal, lx, kvm, bhyve ]
|
choices: [ joyent, joyent-minimal, lx, kvm, bhyve ]
|
||||||
default: joyent
|
default: joyent
|
||||||
description:
|
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:
|
boot:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -28,7 +28,7 @@ options:
|
||||||
C(getslave) (SHOW SLAVE STATUS),
|
C(getslave) (SHOW SLAVE STATUS),
|
||||||
C(startslave) (START SLAVE),
|
C(startslave) (START SLAVE),
|
||||||
C(stopslave) (STOP 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(resetslave) (RESET SLAVE),
|
||||||
C(resetslaveall) (RESET SLAVE ALL).
|
C(resetslaveall) (RESET SLAVE ALL).
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -79,7 +79,7 @@ options:
|
||||||
- The entries will be written out in a specific order.
|
- 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.
|
With this option you can control by which field they are ordered first, second and last.
|
||||||
s=source, d=databases, u=users.
|
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.
|
Sortorder is now hardcoded to sdu.
|
||||||
type: str
|
type: str
|
||||||
default: sdu
|
default: sdu
|
||||||
|
@ -670,7 +670,8 @@ def main():
|
||||||
method=dict(type='str', default='md5', choices=PG_HBA_METHODS),
|
method=dict(type='str', default='md5', choices=PG_HBA_METHODS),
|
||||||
netmask=dict(type='str'),
|
netmask=dict(type='str'),
|
||||||
options=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"]),
|
state=dict(type='str', default="present", choices=["absent", "present"]),
|
||||||
users=dict(type='str', default='all')
|
users=dict(type='str', default='all')
|
||||||
)
|
)
|
||||||
|
|
|
@ -330,7 +330,7 @@ EXAMPLES = r'''
|
||||||
type: foreign_data_wrapper
|
type: foreign_data_wrapper
|
||||||
role: reader
|
role: reader
|
||||||
|
|
||||||
# Available since Ansible 2.10
|
# Available since community.general 0.2.0
|
||||||
- name: GRANT ALL PRIVILEGES ON TYPE customtype TO reader
|
- name: GRANT ALL PRIVILEGES ON TYPE customtype TO reader
|
||||||
postgresql_privs:
|
postgresql_privs:
|
||||||
db: test
|
db: test
|
||||||
|
@ -390,7 +390,7 @@ EXAMPLES = r'''
|
||||||
role: reader
|
role: reader
|
||||||
target_roles: librarian
|
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
|
- name: Grant type privileges for pg_catalog.numeric type to alice
|
||||||
postgresql_privs:
|
postgresql_privs:
|
||||||
type: type
|
type: type
|
||||||
|
|
|
@ -554,7 +554,7 @@ def main():
|
||||||
try:
|
try:
|
||||||
file_args = module.load_file_common_arguments(params, path=b_dest)
|
file_args = module.load_file_common_arguments(params, path=b_dest)
|
||||||
except TypeError:
|
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.
|
# pre-2.10 behavior for older Ansible versions.
|
||||||
params['path'] = b_dest
|
params['path'] = b_dest
|
||||||
file_args = module.load_file_common_arguments(params)
|
file_args = module.load_file_common_arguments(params)
|
||||||
|
|
|
@ -17,7 +17,7 @@ author:
|
||||||
short_description: Notify airbrake about app deployments
|
short_description: Notify airbrake about app deployments
|
||||||
description:
|
description:
|
||||||
- Notify airbrake about app deployments (see U(https://airbrake.io/docs/api/#deploys-v4)).
|
- 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:
|
options:
|
||||||
project_id:
|
project_id:
|
||||||
description:
|
description:
|
||||||
|
@ -66,7 +66,7 @@ options:
|
||||||
type: bool
|
type: bool
|
||||||
token:
|
token:
|
||||||
description:
|
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
|
required: false
|
||||||
type: str
|
type: str
|
||||||
|
|
||||||
|
@ -131,7 +131,8 @@ def main():
|
||||||
if module.params["revision"]:
|
if module.params["revision"]:
|
||||||
params["deploy[scm_revision]"] = 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
|
version='3.0.0', collection_name='community.general') # was Ansible 2.14
|
||||||
|
|
||||||
params["api_key"] = module.params["token"]
|
params["api_key"] = module.params["token"]
|
||||||
|
|
|
@ -66,7 +66,7 @@ options:
|
||||||
deployment_message:
|
deployment_message:
|
||||||
description:
|
description:
|
||||||
- Message about the deployment.
|
- 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']
|
aliases: ['message']
|
||||||
version_added: '0.2.0'
|
version_added: '0.2.0'
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ options:
|
||||||
- A message to include with notifications for this monitor.
|
- 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.
|
- 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 ']]'.
|
- 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
|
type: str
|
||||||
aliases: [ 'message' ]
|
aliases: [ 'message' ]
|
||||||
silenced:
|
silenced:
|
||||||
|
|
|
@ -35,7 +35,7 @@ notes:
|
||||||
deprecated:
|
deprecated:
|
||||||
removed_in: 3.0.0 # was Ansible 2.14
|
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.'
|
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:
|
author:
|
||||||
- Jiri Tyr (@jtyr)
|
- Jiri Tyr (@jtyr)
|
||||||
requirements:
|
requirements:
|
||||||
|
|
|
@ -45,7 +45,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- CA certificate string used to validate the feed source SSL certificate.
|
- CA certificate string used to validate the feed source SSL certificate.
|
||||||
This can be the file content or the path to the file.
|
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
|
type: str
|
||||||
aliases: [ importer_ssl_ca_cert, ca_cert ]
|
aliases: [ importer_ssl_ca_cert, ca_cert ]
|
||||||
feed_client_cert:
|
feed_client_cert:
|
||||||
|
@ -57,7 +57,7 @@ options:
|
||||||
single file containing both the certificate and private key. This can be
|
single file containing both the certificate and private key. This can be
|
||||||
the file content or the path to the file.
|
the file content or the path to the file.
|
||||||
- If not specified the default value will come from client_cert. Which will
|
- 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
|
type: str
|
||||||
aliases: [ importer_ssl_client_cert ]
|
aliases: [ importer_ssl_client_cert ]
|
||||||
feed_client_key:
|
feed_client_key:
|
||||||
|
@ -66,7 +66,7 @@ options:
|
||||||
assuming it is not included in the certificate file itself. This can be
|
assuming it is not included in the certificate file itself. This can be
|
||||||
the file content or the path to the file.
|
the file content or the path to the file.
|
||||||
- If not specified the default value will come from client_key. Which will
|
- 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
|
type: str
|
||||||
aliases: [ importer_ssl_client_key ]
|
aliases: [ importer_ssl_client_key ]
|
||||||
name:
|
name:
|
||||||
|
@ -564,13 +564,14 @@ def main():
|
||||||
importer_ssl_client_cert = module.params['client_cert']
|
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 "
|
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 "
|
"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 "
|
"Ansible 2.9.2). Until community.general 3.0.0, the default value for `feed_client_cert` will be "
|
||||||
"`client_cert` if only the latter is specified",
|
"taken from `client_cert` if only the latter is specified",
|
||||||
version="3.0.0", collection_name='community.general') # was Ansible 2.14
|
version="3.0.0", collection_name='community.general') # was Ansible 2.14
|
||||||
importer_ssl_client_key = module.params['feed_client_key']
|
importer_ssl_client_key = module.params['feed_client_key']
|
||||||
if importer_ssl_client_key is None and module.params['client_key'] is not None:
|
if importer_ssl_client_key is None and module.params['client_key'] is not None:
|
||||||
importer_ssl_client_key = module.params['client_key']
|
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
|
version="3.0.0", collection_name='community.general') # was Ansible 2.14
|
||||||
proxy_host = module.params['proxy_host']
|
proxy_host = module.params['proxy_host']
|
||||||
proxy_port = module.params['proxy_port']
|
proxy_port = module.params['proxy_port']
|
||||||
|
|
|
@ -18,7 +18,7 @@ description:
|
||||||
- When the user exists and state=blocked, the user will be blocked.
|
- When the user exists and state=blocked, the user will be blocked.
|
||||||
- When changes are made to user, the user will be updated.
|
- When changes are made to user, the user will be updated.
|
||||||
notes:
|
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:
|
author:
|
||||||
- Werner Dijkerman (@dj-wasabi)
|
- Werner Dijkerman (@dj-wasabi)
|
||||||
- Guillaume Martinez (@Lunik)
|
- Guillaume Martinez (@Lunik)
|
||||||
|
|
|
@ -247,7 +247,7 @@ def update_jks_perm(module, keystore_path):
|
||||||
try:
|
try:
|
||||||
file_args = module.load_file_common_arguments(module.params, path=keystore_path)
|
file_args = module.load_file_common_arguments(module.params, path=keystore_path)
|
||||||
except TypeError:
|
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.
|
# pre-2.10 behavior for older Ansible versions.
|
||||||
module.params['path'] = keystore_path
|
module.params['path'] = keystore_path
|
||||||
file_args = module.load_file_common_arguments(module.params)
|
file_args = module.load_file_common_arguments(module.params)
|
||||||
|
|
Loading…
Reference in a new issue