Fix version param in deprecate() call and update porting guide (#65894)

* fix version= param in deprecate() call and update porting guide

* add changelog fragment
This commit is contained in:
Bill Dodd 2019-12-19 00:09:28 -06:00 committed by Felix Fontein
parent d3b6db3754
commit 973e36c6b6
3 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,4 @@
minor_changes:
- redfish_config - New ``bios_attributes`` option to allow setting multiple BIOS attributes in one command.
deprecated_features:
- redfish_config - Deprecate ``bios_attribute_name`` and ``bios_attribute_value`` in favor of new `bios_attributes`` option.

View file

@ -69,6 +69,7 @@ The following functionality will be removed in Ansible 2.14. Please update updat
* :ref:`ec2_key <ec2_key_module>`: the ``wait_timeout`` option will be removed. It has had no effect since Ansible 2.5.
* :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:`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.

View file

@ -276,7 +276,7 @@ def main():
'bios_attribute_value']
module.deprecate(msg='The bios_attribute_name/bios_attribute_value '
'options are deprecated. Use bios_attributes instead',
version='2.10')
version='2.14')
# boot order
boot_order = module.params['boot_order']