From 59beba32bee49acfaad59e6028a4b65afb9e0fa8 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) (cherry picked from commit 8f62be7b7c93ec669fac26c8f2fc7a73d00c1f3c) --- 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 2be35a70dcd..0885d35ca26 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