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
This commit is contained in:
Toshio Kuratomi
2016-05-19 15:34:59 -07:00
committed by Matt Clay
parent a2ff7fc7ea
commit 7d9fb08e1a
5 changed files with 24 additions and 26 deletions

View File

@@ -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
'''

View File

@@ -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