diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2016-05-19 15:34:59 -0700 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2016-05-19 15:34:59 -0700 |
commit | 521370459cd57976e3d71e2ecd42e444cd559d98 (patch) | |
tree | 15a40899b49e963fa4232f0cae7ab4e2ea4bf45c /windows | |
parent | d3097bf580e08db1f08ffb0b0adc7459201e5b2f (diff) | |
download | ansible-modules-core-521370459cd57976e3d71e2ecd42e444cd559d98.tar.gz |
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
Diffstat (limited to 'windows')
-rw-r--r-- | windows/win_feature.py | 4 | ||||
-rw-r--r-- | windows/win_get_url.py | 2 |
2 files changed, 2 insertions, 4 deletions
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 |