mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
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:
committed by
Matt Clay
parent
a2ff7fc7ea
commit
7d9fb08e1a
@@ -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
|
||||
|
||||
|
||||
'''
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user