1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments/win_xml_refactor.yaml
jhawkesworth 0e8a77520c Refactor of win_xml (2nd attempt) to add support for processing multiple nodes and counting nodes matched by xpath (#53362)
* add multi-node manipulation, delete on xpath match only and count capability to win_xml

* fix pep8 and yamllint errors identified by ci tests

* fixed bugs when handling multiple elements, multiple attribute nodes and handling for attribute nodes when using xpaths that only select attributes like //@lang.  Added more tests and tweaked documentation.

* fixed line-too-long error

* fixed trailing space errors

* trailing whitespace expunged

* bump version_added to 2.9 for new changes

* fix PSAvoidUsingPositionalParameters sanity check failure

* refix sanity check as it broke the msg return value
2019-04-30 13:19:56 -07:00

5 lines
462 B
YAML

minor_changes:
- win_xml - Behaviour change, module now processes all nodes specified by xpath, not just first encountered.
- win_xml - Behaviour change, fragment no longer required when processing element type nodes and state=absent.
- win_xml - Some output messages worded differently now the module uses a generic method to save changes.
- win_xml - Added 'count' module parameter which will return number of nodes matched by xpath if set to yes/true