From 8f62be7b7c93ec669fac26c8f2fc7a73d00c1f3c Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Tue, 3 Oct 2017 16:19:32 -0400 Subject: [PATCH] win_reg_stat actually sets properties to be a dictionary, not a list (#31252) --- lib/ansible/modules/windows/win_reg_stat.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/windows/win_reg_stat.py b/lib/ansible/modules/windows/win_reg_stat.py index 2be35a70dc..0885d35ca2 100644 --- a/lib/ansible/modules/windows/win_reg_stat.py +++ b/lib/ansible/modules/windows/win_reg_stat.py @@ -73,10 +73,10 @@ exists: type: boolean sample: True properties: - description: A list of all the properties and their values in the key. + description: A dictionary containing all the properties and their values in the registry key. returned: success, path exists and property not specified - type: list - sample: [ + type: dict + sample: { "binary_property" : { "raw_value": ["0x01", "0x16"], "type": "REG_BINARY", @@ -87,7 +87,7 @@ properties: "type": "REG_MULTI_SZ", "value": ["a", "b"] } - ] + } sub_keys: description: A list of all the sub keys of the key specified. returned: success, path exists and property not specified