summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2016-06-04 10:47:42 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2016-06-04 10:48:02 -0700
commit66b60ce7cd4441f4bad90af5ac71721c1c0c3d4f (patch)
tree7935e6b561ae231c6cf2280a490614df21905d24 /windows
parent409c8b4909dfb61c44ec88db02016bddfc9d0a1c (diff)
downloadansible-modules-extras-66b60ce7cd4441f4bad90af5ac71721c1c0c3d4f.tar.gz
Make documentation of win_unzip work on python3 as well
Diffstat (limited to 'windows')
-rw-r--r--windows/win_unzip.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/windows/win_unzip.py b/windows/win_unzip.py
index aa0180ba..b24e6c6b 100644
--- a/windows/win_unzip.py
+++ b/windows/win_unzip.py
@@ -65,9 +65,9 @@ options:
author: Phil Schwartz
'''
-EXAMPLES = '''
+EXAMPLES = r'''
# This unzips a library that was downloaded with win_get_url, and removes the file after extraction
-$ ansible -i hosts -m win_unzip -a "src=C:\\LibraryToUnzip.zip dest=C:\\Lib rm=true" all
+$ ansible -i hosts -m win_unzip -a "src=C:\LibraryToUnzip.zip dest=C:\Lib rm=true" all
# Playbook example
# Simple unzip
@@ -95,12 +95,12 @@ $ ansible -i hosts -m win_unzip -a "src=C:\\LibraryToUnzip.zip dest=C:\\Lib rm=t
- name: Grab PSCX msi
win_get_url:
url: 'http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=pscx&DownloadId=923562&FileTime=130585918034470000&Build=20959'
- dest: 'C:\\pscx.msi'
+ dest: 'C:\pscx.msi'
- name: Install PSCX
win_msi:
- path: 'C:\\pscx.msi'
+ path: 'C:\pscx.msi'
- name: Unzip gz log
win_unzip:
- src: "C:\\Logs\\application-error-logs.gz"
- dest: "C:\\ExtractedLogs\\application-error-logs"
+ src: "C:\Logs\application-error-logs.gz"
+ dest: "C:\ExtractedLogs\application-error-logs"
'''