From 521370459cd57976e3d71e2ecd42e444cd559d98 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 19 May 2016 15:34:59 -0700 Subject: Py3 exclude list (#3698) * Fix a few modules to pass syntax checks under python3 * Move from a whitelist of modules to check for python3 compat to a blacklist --- windows/win_feature.py | 4 +--- windows/win_get_url.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'windows') diff --git a/windows/win_feature.py b/windows/win_feature.py index 3ba53d05..04226c60 100644 --- a/windows/win_feature.py +++ b/windows/win_feature.py @@ -77,7 +77,7 @@ author: - "Trond Hindenes (@trondhindenes)" ''' -EXAMPLES = ''' +EXAMPLES = r''' # This installs IIS. # The names of features available for install can be run by running the following Powershell Command: # PS C:\Users\Administrator> Import-Module ServerManager; Get-WindowsFeature @@ -99,6 +99,4 @@ ansible -m "win_feature" -a "name=NET-Framework-Core source=C:/Temp/iso/sources/ restart: yes include_sub_features: yes include_management_tools: yes - - ''' diff --git a/windows/win_get_url.py b/windows/win_get_url.py index f7c5819c..1492cb44 100644 --- a/windows/win_get_url.py +++ b/windows/win_get_url.py @@ -84,7 +84,7 @@ options: required: false ''' -EXAMPLES = ''' +EXAMPLES = r''' # Downloading a JPEG and saving it to a file with the ansible command. # Note the "dest" is quoted rather instead of escaping the backslashes $ ansible -i hosts -c winrm -m win_get_url -a "url=http://www.example.com/earthrise.jpg dest='C:\Users\Administrator\earthrise.jpg'" all -- cgit v1.2.1