From d2fe2287f98950442ae716932535fa1750879a15 Mon Sep 17 00:00:00 2001 From: "jhawkesworth@users.noreply.github.com" Date: Mon, 21 Mar 2016 08:25:41 +0000 Subject: [PATCH] Added return documentation to win_regmerge module --- .../modules/extras/windows/win_regmerge.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/windows/win_regmerge.py b/lib/ansible/modules/extras/windows/win_regmerge.py index 3e2f51fe86..6507b84b9c 100644 --- a/lib/ansible/modules/extras/windows/win_regmerge.py +++ b/lib/ansible/modules/extras/windows/win_regmerge.py @@ -68,4 +68,20 @@ EXAMPLES = ''' compare_to: HKLM:\SOFTWARE\myCompany ''' -RETURN = '''# ''' +RETURN = ''' +compare_to_key_found: + description: whether the parent registry key has been found for comparison + returned: when comparison key not found in registry + type: boolean + sample: false +difference_count: + description: number of differences between the registry and the file + returned: changed + type: integer + sample: 1 +compared: + description: whether a comparison has taken place between the registry and the file + returned: when a comparison key has been supplied and comparison has been attempted + type: boolean + sample: true +'''