1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

win_reg_stat actually sets properties to be a dictionary, not a list (#31252)

This commit is contained in:
Dustin Spicuzza 2017-10-03 16:19:32 -04:00 committed by Jordan Borean
parent bba941cd5b
commit 8f62be7b7c

View file

@ -73,10 +73,10 @@ exists:
type: boolean type: boolean
sample: True sample: True
properties: 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 returned: success, path exists and property not specified
type: list type: dict
sample: [ sample: {
"binary_property" : { "binary_property" : {
"raw_value": ["0x01", "0x16"], "raw_value": ["0x01", "0x16"],
"type": "REG_BINARY", "type": "REG_BINARY",
@ -87,7 +87,7 @@ properties:
"type": "REG_MULTI_SZ", "type": "REG_MULTI_SZ",
"value": ["a", "b"] "value": ["a", "b"]
} }
] }
sub_keys: sub_keys:
description: A list of all the sub keys of the key specified. description: A list of all the sub keys of the key specified.
returned: success, path exists and property not specified returned: success, path exists and property not specified