mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed RETURN docs for modules (#24011)
* fixed RETURN docs for remaining modules * updated proxymysql_mysql_users 'sample' to yaml dict * fixed whitespace errors
This commit is contained in:
parent
9a0a7f78d7
commit
d1517f997a
40 changed files with 105 additions and 102 deletions
lib/ansible/modules
clustering
commands
crypto
database/proxysql
files
monitoring
packaging/os
remote_management/hpilo
storage/netapp
netapp_e_facts.pynetapp_e_lun_mapping.pynetapp_e_snapshot_images.pynetapp_e_storage_system.pynetapp_e_volume.pysf_snapshot_schedule_manager.py
system
utilities/logic
web_infrastructure
windows
|
@ -138,7 +138,7 @@ RETURN = '''
|
||||||
api_response:
|
api_response:
|
||||||
description: Raw response from Kubernetes API, content varies with API.
|
description: Raw response from Kubernetes API, content varies with API.
|
||||||
returned: success
|
returned: success
|
||||||
type: dictionary
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
apiVersion: "v1"
|
apiVersion: "v1"
|
||||||
kind: "Namespace"
|
kind: "Namespace"
|
||||||
|
|
|
@ -66,17 +66,20 @@ EXAMPLES = '''
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
change:
|
changed:
|
||||||
description: True if the cluster state has changed
|
description: True if the cluster state has changed
|
||||||
type: bool
|
type: bool
|
||||||
|
returned: always
|
||||||
out:
|
out:
|
||||||
description: The output of the current state of the cluster. It return a
|
description: The output of the current state of the cluster. It return a
|
||||||
list of the nodes state.
|
list of the nodes state.
|
||||||
type: string
|
type: string
|
||||||
sample: 'out: [[" overcloud-controller-0", " Online"]]}'
|
sample: 'out: [[" overcloud-controller-0", " Online"]]}'
|
||||||
|
returned: always
|
||||||
rc:
|
rc:
|
||||||
description: exit code of the module
|
description: exit code of the module
|
||||||
type: bool
|
type: bool
|
||||||
|
returned: always
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -171,6 +171,6 @@ rc:
|
||||||
stdout_lines:
|
stdout_lines:
|
||||||
description: The command standard output split in lines
|
description: The command standard output split in lines
|
||||||
returned: always
|
returned: always
|
||||||
type: list of strings
|
type: list
|
||||||
sample: [u'Clustering node rabbit@slave1 with rabbit@master ...']
|
sample: [u'Clustering node rabbit@slave1 with rabbit@master ...']
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -141,23 +141,17 @@ EXAMPLES = '''
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
csr:
|
csr:
|
||||||
description: Path to the generated Certificate Signing Request
|
description: Path to the generated Certificate Signing Request
|
||||||
returned:
|
returned: changed or success
|
||||||
- changed
|
|
||||||
- success
|
|
||||||
type: string
|
type: string
|
||||||
sample: /etc/ssl/csr/www.ansible.com.csr
|
sample: /etc/ssl/csr/www.ansible.com.csr
|
||||||
subject:
|
subject:
|
||||||
description: A dictionnary of the subject attached to the CSR
|
description: A dictionnary of the subject attached to the CSR
|
||||||
returned:
|
returned: changed or success
|
||||||
- changed
|
|
||||||
- success
|
|
||||||
type: list
|
type: list
|
||||||
sample: {'CN': 'www.ansible.com', 'O': 'Ansible'}
|
sample: {'CN': 'www.ansible.com', 'O': 'Ansible'}
|
||||||
subjectAltName:
|
subjectAltName:
|
||||||
description: The alternative names this CSR is valid for
|
description: The alternative names this CSR is valid for
|
||||||
returned:
|
returned: changed or success
|
||||||
- changed
|
|
||||||
- success
|
|
||||||
type: string
|
type: string
|
||||||
sample: 'DNS:www.ansible.com,DNS:m.ansible.com'
|
sample: 'DNS:www.ansible.com,DNS:m.ansible.com'
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -88,23 +88,17 @@ EXAMPLES = '''
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
size:
|
size:
|
||||||
description: Size (in bits) of the TLS/SSL private key
|
description: Size (in bits) of the TLS/SSL private key
|
||||||
returned:
|
returned: changed or success
|
||||||
- changed
|
type: int
|
||||||
- success
|
|
||||||
type: integer
|
|
||||||
sample: 4096
|
sample: 4096
|
||||||
type:
|
type:
|
||||||
description: Algorithm used to generate the TLS/SSL private key
|
description: Algorithm used to generate the TLS/SSL private key
|
||||||
returned:
|
returned: changed or success
|
||||||
- changed
|
|
||||||
- success
|
|
||||||
type: string
|
type: string
|
||||||
sample: RSA
|
sample: RSA
|
||||||
filename:
|
filename:
|
||||||
description: Path to the generated TLS/SSL private key file
|
description: Path to the generated TLS/SSL private key file
|
||||||
returned:
|
returned: changed or success
|
||||||
- changed
|
|
||||||
- success
|
|
||||||
type: string
|
type: string
|
||||||
sample: /etc/ssl/private/ansible.com.pem
|
sample: /etc/ssl/private/ansible.com.pem
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -78,16 +78,12 @@ EXAMPLES = '''
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
privatekey:
|
privatekey:
|
||||||
description: Path to the TLS/SSL private key the public key was generated from
|
description: Path to the TLS/SSL private key the public key was generated from
|
||||||
returned:
|
returned: changed or success
|
||||||
- changed
|
|
||||||
- success
|
|
||||||
type: string
|
type: string
|
||||||
sample: /etc/ssl/private/ansible.com.pem
|
sample: /etc/ssl/private/ansible.com.pem
|
||||||
filename:
|
filename:
|
||||||
description: Path to the generated TLS/SSL public key file
|
description: Path to the generated TLS/SSL public key file
|
||||||
returned:
|
returned: changed or success
|
||||||
- changed
|
|
||||||
- success
|
|
||||||
type: string
|
type: string
|
||||||
sample: /etc/ssl/public/ansible.com.pem
|
sample: /etc/ssl/public/ansible.com.pem
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -148,26 +148,24 @@ stdout:
|
||||||
returned: On create/update will return the newly modified user, on delete
|
returned: On create/update will return the newly modified user, on delete
|
||||||
it will return the deleted record.
|
it will return the deleted record.
|
||||||
type: dict
|
type: dict
|
||||||
sample": {
|
sample:
|
||||||
"changed": true,
|
changed: true
|
||||||
"msg": "Added user to mysql_users",
|
msg: Added user to mysql_users
|
||||||
"state": "present",
|
state: present
|
||||||
"user": {
|
user:
|
||||||
"active": "1",
|
active: 1
|
||||||
"backend": "1",
|
backend: 1
|
||||||
"default_hostgroup": "1",
|
default_hostgroup: 1
|
||||||
"default_schema": null,
|
default_schema: null
|
||||||
"fast_forward": "0",
|
fast_forward: 0
|
||||||
"frontend": "1",
|
frontend: 1
|
||||||
"max_connections": "10000",
|
max_connections: 10000
|
||||||
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
|
password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER
|
||||||
"schema_locked": "0",
|
schema_locked: 0
|
||||||
"transaction_persistent": "0",
|
transaction_persistent: 0
|
||||||
"use_ssl": "0",
|
use_ssl: 0
|
||||||
"username": "guest_ro"
|
username: guest_ro
|
||||||
},
|
username: guest_ro
|
||||||
"username": "guest_ro"
|
|
||||||
}
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
ANSIBLE_METADATA = {'metadata_version': '1.0',
|
ANSIBLE_METADATA = {'metadata_version': '1.0',
|
||||||
|
|
|
@ -107,9 +107,11 @@ archived:
|
||||||
arcroot:
|
arcroot:
|
||||||
description: The archive root.
|
description: The archive root.
|
||||||
type: string
|
type: string
|
||||||
|
returned: always
|
||||||
expanded_paths:
|
expanded_paths:
|
||||||
description: The list of matching paths from paths argument.
|
description: The list of matching paths from paths argument.
|
||||||
type: list
|
type: list
|
||||||
|
returned: always
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -156,7 +156,7 @@ RETURN = '''
|
||||||
files:
|
files:
|
||||||
description: all matches found with the specified criteria (see stat module for full output of each dictionary)
|
description: all matches found with the specified criteria (see stat module for full output of each dictionary)
|
||||||
returned: success
|
returned: success
|
||||||
type: list of dictionaries
|
type: list
|
||||||
sample: [
|
sample: [
|
||||||
{ path: "/var/tmp/test1",
|
{ path: "/var/tmp/test1",
|
||||||
mode: "0644",
|
mode: "0644",
|
||||||
|
|
|
@ -140,7 +140,7 @@ RETURN = '''
|
||||||
stat:
|
stat:
|
||||||
description: dictionary containing all the stat data, some platforms might add additional fields
|
description: dictionary containing all the stat data, some platforms might add additional fields
|
||||||
returned: success
|
returned: success
|
||||||
type: dictionary
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
exists:
|
exists:
|
||||||
description: if the destination path actually exists or not
|
description: if the destination path actually exists or not
|
||||||
|
|
|
@ -112,7 +112,7 @@ RETURN = '''
|
||||||
ansible_facts:
|
ansible_facts:
|
||||||
description: LogicMonitor properties set for the specified object
|
description: LogicMonitor properties set for the specified object
|
||||||
returned: success
|
returned: success
|
||||||
type: list of dicts containing name/value pairs
|
type: list
|
||||||
example: >
|
example: >
|
||||||
{
|
{
|
||||||
"name": "dc",
|
"name": "dc",
|
||||||
|
|
|
@ -212,7 +212,7 @@ cache_updated:
|
||||||
cache_update_time:
|
cache_update_time:
|
||||||
description: time of the last cache update (0 if unknown)
|
description: time of the last cache update (0 if unknown)
|
||||||
returned: success, in some cases
|
returned: success, in some cases
|
||||||
type: datetime
|
type: int
|
||||||
sample: 1425828348000
|
sample: 1425828348000
|
||||||
stdout:
|
stdout:
|
||||||
description: output from apt
|
description: output from apt
|
||||||
|
|
|
@ -96,7 +96,7 @@ RETURN = '''
|
||||||
packages:
|
packages:
|
||||||
description: a list of packages that have been changed
|
description: a list of packages that have been changed
|
||||||
returned: when upgrade is set to yes
|
returned: when upgrade is set to yes
|
||||||
type: list of strings
|
type: list
|
||||||
sample: ['package', 'other-package']
|
sample: ['package', 'other-package']
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -94,6 +94,7 @@ packages:
|
||||||
description: Packages that are affected/would be affected
|
description: Packages that are affected/would be affected
|
||||||
type: list
|
type: list
|
||||||
sample: ["ansible"]
|
sample: ["ansible"]
|
||||||
|
returned: success
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ hw_bios_version:
|
||||||
hw_ethX:
|
hw_ethX:
|
||||||
description: Interface information (for each interface)
|
description: Interface information (for each interface)
|
||||||
returned: always
|
returned: always
|
||||||
type: dictionary of information (macaddress)
|
type: dictionary
|
||||||
sample:
|
sample:
|
||||||
- macaddress: 00:11:22:33:44:55
|
- macaddress: 00:11:22:33:44:55
|
||||||
macaddress_dash: 00-11-22-33-44-55
|
macaddress_dash: 00-11-22-33-44-55
|
||||||
|
@ -93,7 +93,7 @@ hw_ethX:
|
||||||
hw_eth_ilo:
|
hw_eth_ilo:
|
||||||
description: Interface information (for the iLO network interface)
|
description: Interface information (for the iLO network interface)
|
||||||
returned: always
|
returned: always
|
||||||
type: dictionary of information (macaddress)
|
type: dictionary
|
||||||
sample:
|
sample:
|
||||||
- macaddress: 00:11:22:33:44:BA
|
- macaddress: 00:11:22:33:44:BA
|
||||||
- macaddress_dash: 00-11-22-33-44-BA
|
- macaddress_dash: 00-11-22-33-44-BA
|
||||||
|
|
|
@ -67,7 +67,10 @@ EXAMPLES = """
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RETURN = """
|
RETURN = """
|
||||||
msg: Gathered facts for <StorageArrayId>.
|
msg:
|
||||||
|
description: Gathered facts for <StorageArrayId>.
|
||||||
|
returned: always
|
||||||
|
type: string
|
||||||
"""
|
"""
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
|
@ -98,8 +98,11 @@ EXAMPLES = '''
|
||||||
api_password: "{{ netapp_api_password }}"
|
api_password: "{{ netapp_api_password }}"
|
||||||
'''
|
'''
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
msg: Mapping exists.
|
msg:
|
||||||
msg: Mapping removed.
|
description: Status of mapping
|
||||||
|
returned: always
|
||||||
|
type: string
|
||||||
|
sample: 'Mapping existing'
|
||||||
'''
|
'''
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
|
@ -73,9 +73,16 @@ EXAMPLES = """
|
||||||
"""
|
"""
|
||||||
RETURN = """
|
RETURN = """
|
||||||
---
|
---
|
||||||
changed: true
|
msg:
|
||||||
msg: "Created snapshot image"
|
description: State of operation
|
||||||
image_id: "3400000060080E5000299B640063074057BC5C5E "
|
type: string
|
||||||
|
returned: always
|
||||||
|
sample: "Created snapshot image"
|
||||||
|
image_id:
|
||||||
|
description: ID of snaphot image
|
||||||
|
type: string
|
||||||
|
returned: state == created
|
||||||
|
sample: "3400000060080E5000299B640063074057BC5C5E "
|
||||||
"""
|
"""
|
||||||
|
|
||||||
HEADERS = {
|
HEADERS = {
|
||||||
|
|
|
@ -99,8 +99,11 @@ EXAMPLES = '''
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
msg: Storage system removed.
|
msg:
|
||||||
msg: Storage system added.
|
description: State of request
|
||||||
|
type: string
|
||||||
|
returned: always
|
||||||
|
sample: 'Storage system removed.'
|
||||||
'''
|
'''
|
||||||
import json
|
import json
|
||||||
from datetime import datetime as dt, timedelta
|
from datetime import datetime as dt, timedelta
|
||||||
|
|
|
@ -134,12 +134,11 @@ EXAMPLES = '''
|
||||||
'''
|
'''
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
---
|
---
|
||||||
msg: "Standard volume [workload_vol_1] has been created."
|
msg:
|
||||||
msg: "Thin volume [workload_thin_vol] has been created."
|
description: State of volume
|
||||||
msg: "Volume [workload_vol_1] has been expanded."
|
type: string
|
||||||
msg: "Volume [workload_vol_1] has been deleted."
|
returned: always
|
||||||
msg: "Volume [workload_vol_1] did not exist."
|
sample: "Standard volume [workload_vol_1] has been created."
|
||||||
msg: "Volume [workload_vol_1] already exists."
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
|
@ -139,7 +139,7 @@ RETURN = """
|
||||||
schedule_id:
|
schedule_id:
|
||||||
description: Schedule ID of the newly created schedule
|
description: Schedule ID of the newly created schedule
|
||||||
returned: success
|
returned: success
|
||||||
|
type: string
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
|
|
|
@ -119,7 +119,7 @@ mgs:
|
||||||
sample: changed inittab entry startmyservice
|
sample: changed inittab entry startmyservice
|
||||||
changed:
|
changed:
|
||||||
description: whether the inittab changed or not
|
description: whether the inittab changed or not
|
||||||
return: always
|
returned: always
|
||||||
type: boolean
|
type: boolean
|
||||||
sample: true
|
sample: true
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -170,42 +170,42 @@ key_option:
|
||||||
description: Key options related to the key.
|
description: Key options related to the key.
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
sameple: null
|
sample: null
|
||||||
keyfile:
|
keyfile:
|
||||||
description: Path for authorzied key file.
|
description: Path for authorzied key file.
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
sameple: /home/user/.ssh/authorized_keys
|
sample: /home/user/.ssh/authorized_keys
|
||||||
manage_dir:
|
manage_dir:
|
||||||
description: Whether this module managed the directory of the authorized key file.
|
description: Whether this module managed the directory of the authorized key file.
|
||||||
returned: success
|
returned: success
|
||||||
type: boolean
|
type: boolean
|
||||||
sameple: True
|
sample: True
|
||||||
path:
|
path:
|
||||||
description: Alternate path to the authorized_keys file
|
description: Alternate path to the authorized_keys file
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
sameple: null
|
sample: null
|
||||||
state:
|
state:
|
||||||
description: Whether the given key (with the given key_options) should or should not be in the file
|
description: Whether the given key (with the given key_options) should or should not be in the file
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
sameple: present
|
sample: present
|
||||||
unique:
|
unique:
|
||||||
description: Whether the key is unique
|
description: Whether the key is unique
|
||||||
returned: success
|
returned: success
|
||||||
type: boolean
|
type: boolean
|
||||||
sameple: false
|
sample: false
|
||||||
user:
|
user:
|
||||||
description: The username on the remote host whose authorized_keys file will be modified
|
description: The username on the remote host whose authorized_keys file will be modified
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
sameple: user
|
sample: user
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description: This only applies if using a https url as the source of the keys. If set to C(no), the SSL certificates will not be validated.
|
description: This only applies if using a https url as the source of the keys. If set to C(no), the SSL certificates will not be validated.
|
||||||
returned: success
|
returned: success
|
||||||
type: boolean
|
type: boolean
|
||||||
sameple: true
|
sample: true
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# Makes sure the public key line is present or absent in the user's .ssh/authorized_keys.
|
# Makes sure the public key line is present or absent in the user's .ssh/authorized_keys.
|
||||||
|
|
|
@ -112,7 +112,7 @@ RETURN = '''
|
||||||
partition_info:
|
partition_info:
|
||||||
description: Current partition information
|
description: Current partition information
|
||||||
returned: success
|
returned: success
|
||||||
type: dict
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
device:
|
device:
|
||||||
description: Generic device information.
|
description: Generic device information.
|
||||||
|
|
|
@ -123,7 +123,7 @@ status:
|
||||||
description: A dictionary with the key=value pairs returned from `systemctl show`
|
description: A dictionary with the key=value pairs returned from `systemctl show`
|
||||||
returned: success
|
returned: success
|
||||||
type: complex
|
type: complex
|
||||||
sample: {
|
contains: {
|
||||||
"ActiveEnterTimestamp": "Sun 2016-05-15 18:28:49 EDT",
|
"ActiveEnterTimestamp": "Sun 2016-05-15 18:28:49 EDT",
|
||||||
"ActiveEnterTimestampMonotonic": "8135942",
|
"ActiveEnterTimestampMonotonic": "8135942",
|
||||||
"ActiveExitTimestampMonotonic": "0",
|
"ActiveExitTimestampMonotonic": "0",
|
||||||
|
|
|
@ -65,7 +65,7 @@ diff:
|
||||||
description: The differences about the given arguments.
|
description: The differences about the given arguments.
|
||||||
returned: success
|
returned: success
|
||||||
type: dictionary
|
type: dictionary
|
||||||
contains:
|
sample:
|
||||||
before:
|
before:
|
||||||
description: The values before change
|
description: The values before change
|
||||||
type: dict
|
type: dict
|
||||||
|
|
|
@ -78,12 +78,12 @@ start:
|
||||||
description: Time when started pausing
|
description: Time when started pausing
|
||||||
returned: always
|
returned: always
|
||||||
type: string
|
type: string
|
||||||
sample: 2017-02-23 14:35:07.298862
|
sample: "2017-02-23 14:35:07.298862"
|
||||||
stop:
|
stop:
|
||||||
description: Time when ended pausing
|
description: Time when ended pausing
|
||||||
returned: always
|
returned: always
|
||||||
type: string
|
type: string
|
||||||
sample: 2017-02-23 14:35:09.552594
|
sample: "2017-02-23 14:35:09.552594"
|
||||||
delta:
|
delta:
|
||||||
description: Time paused in seconds
|
description: Time paused in seconds
|
||||||
returned: always
|
returned: always
|
||||||
|
|
|
@ -105,6 +105,6 @@ RETURN = r'''
|
||||||
elapsed:
|
elapsed:
|
||||||
description: The number of seconds that elapsed waiting for the connection to appear.
|
description: The number of seconds that elapsed waiting for the connection to appear.
|
||||||
returned: always
|
returned: always
|
||||||
type: integer
|
type: int
|
||||||
sample: 23
|
sample: 23
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -66,7 +66,7 @@ count:
|
||||||
description: Total count of objects return
|
description: Total count of objects return
|
||||||
returned: success
|
returned: success
|
||||||
type: int
|
type: int
|
||||||
sampled: 51
|
sample: 51
|
||||||
next:
|
next:
|
||||||
description: next page available for the listing
|
description: next page available for the listing
|
||||||
returned: success
|
returned: success
|
||||||
|
|
|
@ -76,12 +76,12 @@ started:
|
||||||
description: timestamp of when the job started running
|
description: timestamp of when the job started running
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
sample: 2017-03-01T17:03:53.200234Z
|
sample: "2017-03-01T17:03:53.200234Z"
|
||||||
finished:
|
finished:
|
||||||
description: timestamp of when the job finished running
|
description: timestamp of when the job finished running
|
||||||
returned: success
|
returned: success
|
||||||
type: string
|
type: string
|
||||||
sample: 2017-03-01T17:04:04.078782Z
|
sample: "2017-03-01T17:04:04.078782Z"
|
||||||
status:
|
status:
|
||||||
description: current status of job
|
description: current status of job
|
||||||
returned: success
|
returned: success
|
||||||
|
|
|
@ -137,11 +137,12 @@ RETURN = '''
|
||||||
cert_days:
|
cert_days:
|
||||||
description: the number of days the certificate remains valid.
|
description: the number of days the certificate remains valid.
|
||||||
returned: success
|
returned: success
|
||||||
|
type: int
|
||||||
challenge_data:
|
challenge_data:
|
||||||
description: per domain / challenge type challenge data
|
description: per domain / challenge type challenge data
|
||||||
returned: changed
|
returned: changed
|
||||||
type: dictionary
|
type: dictionary
|
||||||
contains:
|
sample:
|
||||||
resource:
|
resource:
|
||||||
description: the challenge resource that must be created for validation
|
description: the challenge resource that must be created for validation
|
||||||
returned: changed
|
returned: changed
|
||||||
|
@ -156,7 +157,7 @@ authorizations:
|
||||||
description: ACME authorization data.
|
description: ACME authorization data.
|
||||||
returned: changed
|
returned: changed
|
||||||
type: list
|
type: list
|
||||||
contains:
|
sample:
|
||||||
authorization:
|
authorization:
|
||||||
description: ACME authorization object. See https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-6.1.2
|
description: ACME authorization object. See https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-6.1.2
|
||||||
returned: success
|
returned: success
|
||||||
|
|
|
@ -122,6 +122,6 @@ rc:
|
||||||
stdout_lines:
|
stdout_lines:
|
||||||
description: The command standard output split in lines
|
description: The command standard output split in lines
|
||||||
returned: always
|
returned: always
|
||||||
type: list of strings
|
type: list
|
||||||
sample: [u'Clustering node rabbit@slave1 with rabbit@master ...']
|
sample: [u'Clustering node rabbit@slave1 with rabbit@master ...']
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -227,13 +227,13 @@ examined:
|
||||||
sample: 10
|
sample: 10
|
||||||
matched:
|
matched:
|
||||||
description: The number of files/folders that match the criteria
|
description: The number of files/folders that match the criteria
|
||||||
returns: always
|
returned: always
|
||||||
type: int
|
type: int
|
||||||
sample: 2
|
sample: 2
|
||||||
files:
|
files:
|
||||||
description: Information on the files/folders that match the criteria returned as a list of dictionary elements for each file matched
|
description: Information on the files/folders that match the criteria returned as a list of dictionary elements for each file matched
|
||||||
returned: success
|
returned: success
|
||||||
type: dictionary
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
attributes:
|
attributes:
|
||||||
description: attributes of the file at path in raw form
|
description: attributes of the file at path in raw form
|
||||||
|
|
|
@ -117,7 +117,7 @@ attributes:
|
||||||
info:
|
info:
|
||||||
description: Information on current state of the Application Pool
|
description: Information on current state of the Application Pool
|
||||||
returned: success
|
returned: success
|
||||||
type: dictionary
|
type: complex
|
||||||
sample:
|
sample:
|
||||||
contains:
|
contains:
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
@ -84,7 +84,7 @@ compare_to_key_found:
|
||||||
difference_count:
|
difference_count:
|
||||||
description: number of differences between the registry and the file
|
description: number of differences between the registry and the file
|
||||||
returned: changed
|
returned: changed
|
||||||
type: integer
|
type: int
|
||||||
sample: 1
|
sample: 1
|
||||||
compared:
|
compared:
|
||||||
description: whether a comparison has taken place between the registry and the file
|
description: whether a comparison has taken place between the registry and the file
|
||||||
|
|
|
@ -246,7 +246,7 @@ start_mode:
|
||||||
type: string
|
type: string
|
||||||
sample: manual
|
sample: manual
|
||||||
path:
|
path:
|
||||||
description:
|
description: path to the service
|
||||||
returned: success and service exists
|
returned: success and service exists
|
||||||
type: string
|
type: string
|
||||||
sample: C:\Windows\system32\svchost.exe -k LocalServiceNoNetwork
|
sample: C:\Windows\system32\svchost.exe -k LocalServiceNoNetwork
|
||||||
|
@ -268,11 +268,11 @@ desktop_interact:
|
||||||
dependencies:
|
dependencies:
|
||||||
description: A list of dependencies the service relies on
|
description: A list of dependencies the service relies on
|
||||||
returned: success and service exists
|
returned: success and service exists
|
||||||
type: List
|
type: list
|
||||||
sample: False
|
sample: False
|
||||||
depended_by:
|
depended_by:
|
||||||
description: A list of dependencies this service relies on
|
description: A list of dependencies this service relies on
|
||||||
returned: success and service exists
|
returned: success and service exists
|
||||||
type: List
|
type: list
|
||||||
sample: False
|
sample: False
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -130,6 +130,6 @@ rc:
|
||||||
stdout_lines:
|
stdout_lines:
|
||||||
description: The command standard output split in lines
|
description: The command standard output split in lines
|
||||||
returned: always
|
returned: always
|
||||||
type: list of strings
|
type: list
|
||||||
sample: [u'Clustering node rabbit@slave1 with rabbit@master ...']
|
sample: [u'Clustering node rabbit@slave1 with rabbit@master ...']
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -112,7 +112,7 @@ changed:
|
||||||
stat:
|
stat:
|
||||||
description: dictionary containing all the stat data
|
description: dictionary containing all the stat data
|
||||||
returned: success
|
returned: success
|
||||||
type: dictionary
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
attributes:
|
attributes:
|
||||||
description: attributes of the file at path in raw form
|
description: attributes of the file at path in raw form
|
||||||
|
|
|
@ -103,7 +103,7 @@ reboot_required:
|
||||||
updates:
|
updates:
|
||||||
description: List of updates that were found/installed
|
description: List of updates that were found/installed
|
||||||
returned: success
|
returned: success
|
||||||
type: dictionary
|
type: complex
|
||||||
sample:
|
sample:
|
||||||
contains:
|
contains:
|
||||||
title:
|
title:
|
||||||
|
|
|
@ -130,7 +130,6 @@ body:
|
||||||
returned: when body is specified
|
returned: when body is specified
|
||||||
type: string
|
type: string
|
||||||
sample: '{"id":1}'
|
sample: '{"id":1}'
|
||||||
version_added: "2.3"
|
|
||||||
status_code:
|
status_code:
|
||||||
description: The HTTP Status Code of the response.
|
description: The HTTP Status Code of the response.
|
||||||
returned: success
|
returned: success
|
||||||
|
|
Loading…
Add table
Reference in a new issue