clc_aa_policy: deprecate unused 'wait' parameter (#64367)

This commit is contained in:
Pilou 2019-12-21 04:46:53 +00:00 committed by ansibot
parent 342b9953bc
commit 7ee3103a86
4 changed files with 5 additions and 5 deletions

View file

@ -0,0 +1,2 @@
deprecated_features:
- "clc_aa_policy - The ``wait`` option had no effect and will be removed in Ansible 2.14"

View file

@ -70,6 +70,7 @@ The following functionality will be removed in Ansible 2.14. Please update updat
* :ref:`ec2_lc <ec2_lc_module>`: the ``associate_public_ip_address`` option will be removed. It has always been ignored by the module. * :ref:`ec2_lc <ec2_lc_module>`: the ``associate_public_ip_address`` option will be removed. It has always been ignored by the module.
* :ref:`iam_policy <iam_policy_module>`: the ``policy_document`` option will be removed. To maintain the existing behavior use the ``policy_json`` option and read the file with the ``lookup`` plugin. * :ref:`iam_policy <iam_policy_module>`: the ``policy_document`` option will be removed. To maintain the existing behavior use the ``policy_json`` option and read the file with the ``lookup`` plugin.
* :ref:`redfish_config <redfish_config_module>`: the ``bios_attribute_name`` and ``bios_attribute_value`` options will be removed. To maintain the existing behavior use the ``bios_attributes`` option instead. * :ref:`redfish_config <redfish_config_module>`: the ``bios_attribute_name`` and ``bios_attribute_value`` options will be removed. To maintain the existing behavior use the ``bios_attributes`` option instead.
* :ref:`clc_aa_policy <clc_aa_policy_module>`: the ``wait`` parameter will be removed. It has always been ignored by the module.

View file

@ -35,9 +35,7 @@ options:
choices: ['present','absent'] choices: ['present','absent']
wait: wait:
description: description:
- Whether to wait for the tasks to finish before returning. - This option does nothing and will be removed in Ansible 2.14.
default: True
required: False
type: bool type: bool
requirements: requirements:
- python = 2.7 - python = 2.7
@ -191,7 +189,7 @@ class ClcAntiAffinityPolicy:
argument_spec = dict( argument_spec = dict(
name=dict(required=True), name=dict(required=True),
location=dict(required=True), location=dict(required=True),
wait=dict(default=True), wait=dict(type='bool', removed_in_version='2.14'),
state=dict(default='present', choices=['present', 'absent']), state=dict(default='present', choices=['present', 'absent']),
) )
return argument_spec return argument_spec

View file

@ -718,7 +718,6 @@ lib/ansible/modules/cloud/azure/azure_rm_webapp_info.py validate-modules:paramet
lib/ansible/modules/cloud/azure/azure_rm_webappslot.py validate-modules:doc-required-mismatch lib/ansible/modules/cloud/azure/azure_rm_webappslot.py validate-modules:doc-required-mismatch
lib/ansible/modules/cloud/azure/azure_rm_webappslot.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/cloud/azure/azure_rm_webappslot.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/cloud/centurylink/clc_aa_policy.py validate-modules:doc-missing-type lib/ansible/modules/cloud/centurylink/clc_aa_policy.py validate-modules:doc-missing-type
lib/ansible/modules/cloud/centurylink/clc_aa_policy.py validate-modules:implied-parameter-type-mismatch
lib/ansible/modules/cloud/centurylink/clc_aa_policy.py yamllint:unparsable-with-libyaml lib/ansible/modules/cloud/centurylink/clc_aa_policy.py yamllint:unparsable-with-libyaml
lib/ansible/modules/cloud/centurylink/clc_alert_policy.py validate-modules:doc-missing-type lib/ansible/modules/cloud/centurylink/clc_alert_policy.py validate-modules:doc-missing-type
lib/ansible/modules/cloud/centurylink/clc_alert_policy.py validate-modules:no-default-for-required-parameter lib/ansible/modules/cloud/centurylink/clc_alert_policy.py validate-modules:no-default-for-required-parameter