summaryrefslogtreecommitdiff
path: root/windows/win_regedit.py
diff options
context:
space:
mode:
authorjhawkesworth <jhawkesworth@users.noreply.github.com>2016-06-16 20:32:53 +0100
committerMatt Davis <nitzmahone@users.noreply.github.com>2016-06-16 12:32:53 -0700
commit07ed6bbd56b7798714efef8af91b7d3fe744a895 (patch)
tree038db880f93b94253deccc8eac5a43530c3f7380 /windows/win_regedit.py
parent127ddc1f059ff5898cd56a4207989041a2d02379 (diff)
downloadansible-modules-extras-07ed6bbd56b7798714efef8af91b7d3fe744a895.tar.gz
Various fixes to win_regedit and documentation (#2436)
Diffstat (limited to 'windows/win_regedit.py')
-rw-r--r--windows/win_regedit.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/windows/win_regedit.py b/windows/win_regedit.py
index 8845f8ce..d9de288e 100644
--- a/windows/win_regedit.py
+++ b/windows/win_regedit.py
@@ -126,6 +126,12 @@ EXAMPLES = '''
key: HKCU:\Software\MyCompany
value: hello
state: absent
+
+ # Ensure registry paths containing spaces are quoted.
+ # Creates Registry Key called 'My Company'.
+ win_regedit:
+ key: 'HKCU:\Software\My Company'
+
'''
RETURN = '''
data_changed: