Skip to content

Commit

Permalink
Fix version param in deprecate() call and update porting guide (ansib…
Browse files Browse the repository at this point in the history
…le#65894)

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

* add changelog fragment
  • Loading branch information
billdodd authored and felixfontein committed Dec 19, 2019
1 parent d3b6db3 commit 973e36c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelogs/fragments/65894-redfish-bios-attributes.yaml
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions docs/docsite/rst/porting_guides/porting_guide_2.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 973e36c

Please sign in to comment.