summaryrefslogtreecommitdiffstats
path: root/test/support/windows-integration/plugins/modules/win_shell.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2024-10-09 23:22:35 +0200
committerGitHub <noreply@github.com>2024-10-09 23:22:35 +0200
commita0495fc31497798a7a833ba7406a9729e1528dd8 (patch)
treec9ebc8e92d18e20bbb5f44d0184d00166b63b4df /test/support/windows-integration/plugins/modules/win_shell.py
parentansible-test - Work around pylint issue on 3.11 (#84094) (diff)
downloadansible-a0495fc31497798a7a833ba7406a9729e1528dd8.tar.xz
ansible-a0495fc31497798a7a833ba7406a9729e1528dd8.zip
Update triple single quotes to triple double quotes (#84099)
* Update triple single quotes to triple double quotes This change was fully automated. The updated Python files have been verified to tokenize the same as the originals, except for the expected change in quoting of strings, which were verified through literal_eval. * Manual conversion of docstring quotes
Diffstat (limited to 'test/support/windows-integration/plugins/modules/win_shell.py')
-rw-r--r--test/support/windows-integration/plugins/modules/win_shell.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/support/windows-integration/plugins/modules/win_shell.py b/test/support/windows-integration/plugins/modules/win_shell.py
index ee2cd76240..461ccea3ae 100644
--- a/test/support/windows-integration/plugins/modules/win_shell.py
+++ b/test/support/windows-integration/plugins/modules/win_shell.py
@@ -8,7 +8,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'core'}
-DOCUMENTATION = r'''
+DOCUMENTATION = r"""
---
module: win_shell
short_description: Execute shell commands on target hosts
@@ -80,9 +80,9 @@ seealso:
- module: win_psexec
author:
- Matt Davis (@nitzmahone)
-'''
+"""
-EXAMPLES = r'''
+EXAMPLES = r"""
# Execute a command in the remote shell; stdout goes to the specified
# file on the remote.
- win_shell: C:\somescript.ps1 >> C:\somelog.txt
@@ -116,9 +116,9 @@ EXAMPLES = r'''
win_shell: '$string = [Console]::In.ReadToEnd(); Write-Output $string.Trim()'
args:
stdin: Input message
-'''
+"""
-RETURN = r'''
+RETURN = r"""
msg:
description: Changed.
returned: always
@@ -164,4 +164,4 @@ stdout_lines:
returned: always
type: list
sample: [u'Clustering node rabbit@slave1 with rabbit@master ...']
-'''
+"""