ansible-collections / community.windows

Windows community collection for Ansible
https://galaxy.ansible.com/community/windows
GNU General Public License v3.0
193 stars 152 forks source link

win_regmerge: Add support for specifying registry file contents directly as 'content' #546

Closed d-a-n-d-u closed 6 months ago

d-a-n-d-u commented 7 months ago
SUMMARY

Add support for specifying registry file contens directly using a new 'content' parameter instead of the existing 'path' parameter. If 'content' is not specified the behavior is same as before, registry file is merged using 'path'.

There's alos a bug in the documentation which lists 'compare_key' as an option/parameter when in fact the parameter is 'compare_to', fix included in this PR.

ISSUE TYPE
COMPONENT NAME

win_regmerge

ADDITIONAL INFORMATION

Tested on: Windows Server 2022.

jborean93 commented 6 months ago

Thanks for working on this.