summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/module_defaults/library/legacy_ping.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/integration/targets/module_defaults/library/legacy_ping.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/integration/targets/module_defaults/library/legacy_ping.py')
-rw-r--r--test/integration/targets/module_defaults/library/legacy_ping.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/integration/targets/module_defaults/library/legacy_ping.py b/test/integration/targets/module_defaults/library/legacy_ping.py
index b54b701d57..33c282b888 100644
--- a/test/integration/targets/module_defaults/library/legacy_ping.py
+++ b/test/integration/targets/module_defaults/library/legacy_ping.py
@@ -8,7 +8,7 @@
from __future__ import annotations
-DOCUMENTATION = '''
+DOCUMENTATION = """
---
module: ping
version_added: historical
@@ -35,9 +35,9 @@ author:
- Michael DeHaan
notes:
- Supports C(check_mode).
-'''
+"""
-EXAMPLES = '''
+EXAMPLES = """
# Test we can logon to 'webservers' and execute python with json lib.
# ansible webservers -m ping
@@ -47,15 +47,15 @@ EXAMPLES = '''
- name: Induce an exception to see what happens
ansible.builtin.ping:
data: crash
-'''
+"""
-RETURN = '''
+RETURN = """
ping:
description: Value provided with the data parameter.
returned: success
type: str
sample: pong
-'''
+"""
from ansible.module_utils.basic import AnsibleModule