adjust doc style - batch 2 (#9447)
parent
040cd0ca50
commit
5f47127ef7
|
@ -35,13 +35,13 @@ options:
|
||||||
elements: int
|
elements: int
|
||||||
server_ids:
|
server_ids:
|
||||||
description:
|
description:
|
||||||
- A list of servers to create public ips on.
|
- A list of servers to create public IPs on.
|
||||||
type: list
|
type: list
|
||||||
required: true
|
required: true
|
||||||
elements: str
|
elements: str
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Determine whether to create or delete public IPs. If V(present) module will not create a second public ip if one already
|
- Determine whether to create or delete public IPs. If V(present) module will not create a second public IP if one already
|
||||||
exists.
|
exists.
|
||||||
type: str
|
type: str
|
||||||
default: present
|
default: present
|
||||||
|
|
|
@ -30,7 +30,7 @@ options:
|
||||||
default: []
|
default: []
|
||||||
add_public_ip:
|
add_public_ip:
|
||||||
description:
|
description:
|
||||||
- Whether to add a public ip to the server.
|
- Whether to add a public IP to the server.
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
alias:
|
alias:
|
||||||
|
@ -134,13 +134,13 @@ options:
|
||||||
type: str
|
type: str
|
||||||
public_ip_protocol:
|
public_ip_protocol:
|
||||||
description:
|
description:
|
||||||
- The protocol to use for the public ip if add_public_ip is set to True.
|
- The protocol to use for the public ip if O(add_public_ip=true).
|
||||||
type: str
|
type: str
|
||||||
default: 'TCP'
|
default: 'TCP'
|
||||||
choices: ['TCP', 'UDP', 'ICMP']
|
choices: ['TCP', 'UDP', 'ICMP']
|
||||||
public_ip_ports:
|
public_ip_ports:
|
||||||
description:
|
description:
|
||||||
- A list of ports to allow on the firewall to the servers public ip, if add_public_ip is set to True.
|
- A list of ports to allow on the firewall to the servers public IP, if O(add_public_ip=true).
|
||||||
type: list
|
type: list
|
||||||
elements: dict
|
elements: dict
|
||||||
default: []
|
default: []
|
||||||
|
@ -150,7 +150,7 @@ options:
|
||||||
type: str
|
type: str
|
||||||
server_ids:
|
server_ids:
|
||||||
description:
|
description:
|
||||||
- Required for started, stopped, and absent states. A list of server Ids to insure are started, stopped, or absent.
|
- Required for started, stopped, and absent states. A list of server IDs to ensure are started, stopped, or absent.
|
||||||
type: list
|
type: list
|
||||||
default: []
|
default: []
|
||||||
elements: str
|
elements: str
|
||||||
|
|
|
@ -14,7 +14,7 @@ author:
|
||||||
- Michael Gruener (@mgruener)
|
- Michael Gruener (@mgruener)
|
||||||
short_description: Manage Cloudflare DNS records
|
short_description: Manage Cloudflare DNS records
|
||||||
description:
|
description:
|
||||||
- 'Manages dns records using the Cloudflare API, see the docs: U(https://api.cloudflare.com/).'
|
- 'Manages DNS records using the Cloudflare API, see the docs: U(https://api.cloudflare.com/).'
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -26,7 +26,7 @@ options:
|
||||||
api_token:
|
api_token:
|
||||||
description:
|
description:
|
||||||
- API token.
|
- API token.
|
||||||
- Required for api token authentication.
|
- Required for API token authentication.
|
||||||
- "You can obtain your API token from the bottom of the Cloudflare 'My Account' page, found here: U(https://dash.cloudflare.com/)."
|
- "You can obtain your API token from the bottom of the Cloudflare 'My Account' page, found here: U(https://dash.cloudflare.com/)."
|
||||||
- Can be specified in E(CLOUDFLARE_TOKEN) environment variable since community.general 2.0.0.
|
- Can be specified in E(CLOUDFLARE_TOKEN) environment variable since community.general 2.0.0.
|
||||||
type: str
|
type: str
|
||||||
|
@ -34,7 +34,7 @@ options:
|
||||||
account_api_key:
|
account_api_key:
|
||||||
description:
|
description:
|
||||||
- Account API key.
|
- Account API key.
|
||||||
- Required for api keys authentication.
|
- Required for API keys authentication.
|
||||||
- "You can obtain your API key from the bottom of the Cloudflare 'My Account' page, found here: U(https://dash.cloudflare.com/)."
|
- "You can obtain your API key from the bottom of the Cloudflare 'My Account' page, found here: U(https://dash.cloudflare.com/)."
|
||||||
type: str
|
type: str
|
||||||
aliases: [account_api_token]
|
aliases: [account_api_token]
|
||||||
|
|
|
@ -15,7 +15,7 @@ short_description: Set or delete key value pairs from an etcd3 cluster
|
||||||
requirements:
|
requirements:
|
||||||
- etcd3
|
- etcd3
|
||||||
description:
|
description:
|
||||||
- Sets or deletes values in etcd3 cluster using its v3 api.
|
- Sets or deletes values in etcd3 cluster using its v3 API.
|
||||||
- Needs python etcd3 lib to work.
|
- Needs python etcd3 lib to work.
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
|
|
|
@ -153,7 +153,7 @@ msg:
|
||||||
sample: "Success"
|
sample: "Success"
|
||||||
|
|
||||||
result:
|
result:
|
||||||
description: Json parsed response from the server.
|
description: JSON parsed response from the server.
|
||||||
returned: always
|
returned: always
|
||||||
type: dict
|
type: dict
|
||||||
|
|
||||||
|
|
|
@ -218,7 +218,7 @@ EXAMPLES = r"""
|
||||||
|
|
||||||
RETURN = r"""
|
RETURN = r"""
|
||||||
data:
|
data:
|
||||||
description: A json dictionary returned from C(homectl inspect -j).
|
description: Dictionary returned from C(homectl inspect -j).
|
||||||
returned: success
|
returned: success
|
||||||
type: dict
|
type: dict
|
||||||
sample: {
|
sample: {
|
||||||
|
|
|
@ -110,7 +110,7 @@ network_id:
|
||||||
type: str
|
type: str
|
||||||
sample: '1501'
|
sample: '1501'
|
||||||
ip_info:
|
ip_info:
|
||||||
description: When reserve next available ip address from a network, the ip address info ) is returned.
|
description: When reserve next available IP address from a network, the IP address info is returned.
|
||||||
returned: success
|
returned: success
|
||||||
type: str
|
type: str
|
||||||
sample: '{"address": "192.168.10.3", "hostname": "", "FQDN": "", "domainname": "", "id": 3229}'
|
sample: '{"address": "192.168.10.3", "hostname": "", "FQDN": "", "domainname": "", "id": 3229}'
|
||||||
|
|
|
@ -33,7 +33,7 @@ options:
|
||||||
default: "ansible-ipinfoio-module/0.0.1"
|
default: "ansible-ipinfoio-module/0.0.1"
|
||||||
type: str
|
type: str
|
||||||
notes:
|
notes:
|
||||||
- Check http://ipinfo.io/ for more information.
|
- Check U(http://ipinfo.io/) for more information.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = r"""
|
EXAMPLES = r"""
|
||||||
|
@ -44,7 +44,7 @@ EXAMPLES = r"""
|
||||||
|
|
||||||
RETURN = r"""
|
RETURN = r"""
|
||||||
ansible_facts:
|
ansible_facts:
|
||||||
description: "Dictionary of ip geolocation facts for a host's IP address."
|
description: "Dictionary of IP geolocation facts for a host's IP address."
|
||||||
returned: changed
|
returned: changed
|
||||||
type: complex
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
|
|
|
@ -24,7 +24,7 @@ attributes:
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- Hostname or ip address of the BMC.
|
- Hostname or IP address of the BMC.
|
||||||
required: true
|
required: true
|
||||||
type: str
|
type: str
|
||||||
port:
|
port:
|
||||||
|
|
|
@ -24,7 +24,7 @@ attributes:
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- Hostname or ip address of the BMC.
|
- Hostname or IP address of the BMC.
|
||||||
required: true
|
required: true
|
||||||
type: str
|
type: str
|
||||||
port:
|
port:
|
||||||
|
|
|
@ -78,7 +78,7 @@ options:
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
description:
|
description:
|
||||||
- A list of URL segment(s) to retrieve the update center json file from.
|
- A list of URL segment(s) to retrieve the update center JSON file from.
|
||||||
default: ['update-center.json', 'updates/update-center.json']
|
default: ['update-center.json', 'updates/update-center.json']
|
||||||
version_added: 3.3.0
|
version_added: 3.3.0
|
||||||
latest_plugins_url_segments:
|
latest_plugins_url_segments:
|
||||||
|
|
|
@ -11,7 +11,7 @@ __metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = r"""
|
DOCUMENTATION = r"""
|
||||||
module: librato_annotation
|
module: librato_annotation
|
||||||
short_description: Create an annotation in librato
|
short_description: Create an annotation in Librato
|
||||||
description:
|
description:
|
||||||
- Create an annotation event on the given annotation stream :name. If the annotation stream does not exist, it will be created automatically.
|
- Create an annotation event on the given annotation stream :name. If the annotation stream does not exist, it will be created automatically.
|
||||||
author: "Seth Edwards (@Sedward)"
|
author: "Seth Edwards (@Sedward)"
|
||||||
|
@ -32,7 +32,7 @@ options:
|
||||||
api_key:
|
api_key:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- Librato account api key.
|
- Librato account API key.
|
||||||
required: true
|
required: true
|
||||||
name:
|
name:
|
||||||
type: str
|
type: str
|
||||||
|
|
|
@ -374,12 +374,12 @@ lxc_container:
|
||||||
type: complex
|
type: complex
|
||||||
contains:
|
contains:
|
||||||
name:
|
name:
|
||||||
description: Name of the lxc container.
|
description: Name of the LXC container.
|
||||||
returned: success
|
returned: success
|
||||||
type: str
|
type: str
|
||||||
sample: test_host
|
sample: test_host
|
||||||
init_pid:
|
init_pid:
|
||||||
description: Pid of the lxc init process.
|
description: Pid of the LXC init process.
|
||||||
returned: success
|
returned: success
|
||||||
type: int
|
type: int
|
||||||
sample: 19786
|
sample: 19786
|
||||||
|
@ -389,7 +389,7 @@ lxc_container:
|
||||||
type: list
|
type: list
|
||||||
sample: ["eth0", "lo"]
|
sample: ["eth0", "lo"]
|
||||||
ips:
|
ips:
|
||||||
description: List of ips.
|
description: List of IPs.
|
||||||
returned: success
|
returned: success
|
||||||
type: list
|
type: list
|
||||||
sample: ["10.0.3.3"]
|
sample: ["10.0.3.3"]
|
||||||
|
|
|
@ -37,7 +37,7 @@ options:
|
||||||
api_key:
|
api_key:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- Mattermost webhook api key. Log into your mattermost site, go to Menu -> Integration -> Incoming Webhook -> Add Incoming Webhook. This
|
- Mattermost webhook API key. Log into your Mattermost site, go to Menu -> Integration -> Incoming Webhook -> Add Incoming Webhook. This
|
||||||
will give you full URL. O(api_key) is the last part. U(http://mattermost.example.com/hooks/API_KEY).
|
will give you full URL. O(api_key) is the last part. U(http://mattermost.example.com/hooks/API_KEY).
|
||||||
required: true
|
required: true
|
||||||
text:
|
text:
|
||||||
|
|
|
@ -22,7 +22,7 @@ attributes:
|
||||||
options:
|
options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Define a public ip state to create, remove, or update.
|
- Define a public IP state to create, remove, or update.
|
||||||
type: str
|
type: str
|
||||||
required: false
|
required: false
|
||||||
default: 'present'
|
default: 'present'
|
||||||
|
@ -108,7 +108,7 @@ EXAMPLES = r"""
|
||||||
|
|
||||||
RETURN = r"""
|
RETURN = r"""
|
||||||
public_ip:
|
public_ip:
|
||||||
description: Information about the public ip that was processed.
|
description: Information about the public IP that was processed.
|
||||||
type: dict
|
type: dict
|
||||||
sample: '{"id": "F77CC589EBC120905B4F4719217BFF6D", "ip": "10.5.132.106"}'
|
sample: '{"id": "F77CC589EBC120905B4F4719217BFF6D", "ip": "10.5.132.106"}'
|
||||||
returned: always
|
returned: always
|
||||||
|
|
|
@ -16,7 +16,7 @@ description:
|
||||||
- Manage OVH (French European hosting provider) LoadBalancing IP backends.
|
- Manage OVH (French European hosting provider) LoadBalancing IP backends.
|
||||||
author: Pascal Heraud (@pascalheraud)
|
author: Pascal Heraud (@pascalheraud)
|
||||||
notes:
|
notes:
|
||||||
- Uses the python OVH Api U(https://github.com/ovh/python-ovh). You have to create an application (a key and secret) with a consumer key as
|
- Uses the Python OVH API U(https://github.com/ovh/python-ovh). You have to create an application (a key and secret) with a consumer key as
|
||||||
described into U(https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/).
|
described into U(https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/).
|
||||||
requirements:
|
requirements:
|
||||||
- ovh > 0.3.5
|
- ovh > 0.3.5
|
||||||
|
@ -31,7 +31,7 @@ options:
|
||||||
name:
|
name:
|
||||||
required: true
|
required: true
|
||||||
description:
|
description:
|
||||||
- Name of the LoadBalancing internal name (ip-X.X.X.X).
|
- Name of the LoadBalancing internal name (V(ip-X.X.X.X)).
|
||||||
type: str
|
type: str
|
||||||
backend:
|
backend:
|
||||||
required: true
|
required: true
|
||||||
|
@ -58,7 +58,7 @@ options:
|
||||||
endpoint:
|
endpoint:
|
||||||
required: true
|
required: true
|
||||||
description:
|
description:
|
||||||
- The endpoint to use ( for instance ovh-eu).
|
- The endpoint to use (for instance V(ovh-eu)).
|
||||||
type: str
|
type: str
|
||||||
application_key:
|
application_key:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -49,7 +49,7 @@ options:
|
||||||
|
|
||||||
auth_token:
|
auth_token:
|
||||||
description:
|
description:
|
||||||
- Packet api token. You can also supply it in environment variable E(PACKET_API_TOKEN).
|
- Packet API token. You can also supply it in environment variable E(PACKET_API_TOKEN).
|
||||||
type: str
|
type: str
|
||||||
|
|
||||||
name:
|
name:
|
||||||
|
|
|
@ -230,13 +230,13 @@ options:
|
||||||
ipconfig:
|
ipconfig:
|
||||||
description:
|
description:
|
||||||
- 'Cloud-init: Set the IP configuration.'
|
- 'Cloud-init: Set the IP configuration.'
|
||||||
- A hash/dictionary of network ip configurations. O(ipconfig='{"key":"value", "key":"value"}').
|
- A hash/dictionary of network IP configurations. O(ipconfig='{"key":"value", "key":"value"}').
|
||||||
- Keys allowed are - V(ipconfig[n]) where 0 ≤ n ≤ network interfaces.
|
- Keys allowed are - V(ipconfig[n]) where 0 ≤ n ≤ network interfaces.
|
||||||
- Values allowed are - V("[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]").
|
- Values allowed are - V("[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]").
|
||||||
- 'Cloud-init: Specify IP addresses and gateways for the corresponding interface.'
|
- 'Cloud-init: Specify IP addresses and gateways for the corresponding interface.'
|
||||||
- IP addresses use CIDR notation, gateways are optional but they should be in the same subnet of specified IP address.
|
- IP addresses use CIDR notation, gateways are optional but they should be in the same subnet of specified IP address.
|
||||||
- The special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided.
|
- The special string V(dhcp) can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided.
|
||||||
- For IPv6 the special string 'auto' can be used to use stateless autoconfiguration.
|
- For IPv6 the special string V(auto) can be used to use stateless autoconfiguration.
|
||||||
- If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4.
|
- If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4.
|
||||||
type: dict
|
type: dict
|
||||||
version_added: 1.3.0
|
version_added: 1.3.0
|
||||||
|
@ -315,12 +315,12 @@ options:
|
||||||
numa:
|
numa:
|
||||||
description:
|
description:
|
||||||
- A hash/dictionaries of NUMA topology. O(numa='{"key":"value", "key":"value"}').
|
- A hash/dictionaries of NUMA topology. O(numa='{"key":"value", "key":"value"}').
|
||||||
- Keys allowed are - C(numa[n]) where 0 ≤ n ≤ N.
|
- Keys allowed are - V(numa[n]) where 0 ≤ n ≤ N.
|
||||||
- Values allowed are - C("cpu="<id[-id];...>",hostnodes="<id[-id];...>",memory="number",policy="(bind|interleave|preferred)"").
|
- Values allowed are - V("cpu="<id[-id];...>",hostnodes="<id[-id];...>",memory="number",policy="(bind|interleave|preferred)"").
|
||||||
- C(cpus) CPUs accessing this NUMA node.
|
- V(cpus) CPUs accessing this NUMA node.
|
||||||
- C(hostnodes) Host NUMA nodes to use.
|
- V(hostnodes) Host NUMA nodes to use.
|
||||||
- C(memory) Amount of memory this NUMA node provides.
|
- V(memory) Amount of memory this NUMA node provides.
|
||||||
- C(policy) NUMA allocation policy.
|
- V(policy) NUMA allocation policy.
|
||||||
type: dict
|
type: dict
|
||||||
numa_enabled:
|
numa_enabled:
|
||||||
description:
|
description:
|
||||||
|
@ -536,17 +536,17 @@ options:
|
||||||
type: int
|
type: int
|
||||||
vga:
|
vga:
|
||||||
description:
|
description:
|
||||||
- Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use option 'std' or 'vmware'.
|
- Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use option V(std) or V(vmware).
|
||||||
type: str
|
type: str
|
||||||
choices: ['std', 'cirrus', 'vmware', 'qxl', 'serial0', 'serial1', 'serial2', 'serial3', 'qxl2', 'qxl3', 'qxl4']
|
choices: ['std', 'cirrus', 'vmware', 'qxl', 'serial0', 'serial1', 'serial2', 'serial3', 'qxl2', 'qxl3', 'qxl4']
|
||||||
virtio:
|
virtio:
|
||||||
description:
|
description:
|
||||||
- A hash/dictionary of volume used as VIRTIO hard disk. O(virtio='{"key":"value", "key":"value"}').
|
- A hash/dictionary of volume used as VIRTIO hard disk. O(virtio='{"key":"value", "key":"value"}').
|
||||||
- Keys allowed are - V(virtio[n]) where 0 ≤ n ≤ 15.
|
- Keys allowed are - V(virtio[n]) where 0 ≤ n ≤ 15.
|
||||||
- Values allowed are - V("storage:size,format=value").
|
- Values allowed are - V(storage:size,format=value).
|
||||||
- V(storage) is the storage identifier where to create the disk.
|
- V(storage) is the storage identifier where to create the disk.
|
||||||
- V(size) is the size of the disk in GB.
|
- V(size) is the size of the disk in GB.
|
||||||
- V(format) is the drive's backing file's data format. C(qcow2|raw|subvol). Please refer to the Proxmox VE Administrator Guide, section
|
- V(format) is the drive's backing file's data format. V(qcow2|raw|subvol). Please refer to the Proxmox VE Administrator Guide, section
|
||||||
Proxmox VE Storage (see U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) for the latest version, tables 3 to 14) to find out format
|
Proxmox VE Storage (see U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) for the latest version, tables 3 to 14) to find out format
|
||||||
supported by the provided storage backend.
|
supported by the provided storage backend.
|
||||||
type: dict
|
type: dict
|
||||||
|
|
|
@ -37,7 +37,7 @@ options:
|
||||||
type: path
|
type: path
|
||||||
http_conn:
|
http_conn:
|
||||||
description:
|
description:
|
||||||
- The ip address and port that is listening for Riak HTTP queries.
|
- The IP address and port that is listening for Riak HTTP queries.
|
||||||
default: 127.0.0.1:8098
|
default: 127.0.0.1:8098
|
||||||
type: str
|
type: str
|
||||||
target_node:
|
target_node:
|
||||||
|
|
|
@ -10,9 +10,9 @@ __metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = r"""
|
DOCUMENTATION = r"""
|
||||||
module: scaleway_ip_info
|
module: scaleway_ip_info
|
||||||
short_description: Gather information about the Scaleway ips available
|
short_description: Gather information about the Scaleway IPs available
|
||||||
description:
|
description:
|
||||||
- Gather information about the Scaleway ips available.
|
- Gather information about the Scaleway IPs available.
|
||||||
author:
|
author:
|
||||||
- "Yanis Guenane (@Spredzy)"
|
- "Yanis Guenane (@Spredzy)"
|
||||||
- "Remy Leone (@remyleone)"
|
- "Remy Leone (@remyleone)"
|
||||||
|
@ -39,7 +39,7 @@ options:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = r"""
|
EXAMPLES = r"""
|
||||||
- name: Gather Scaleway ips information
|
- name: Gather Scaleway IPs information
|
||||||
community.general.scaleway_ip_info:
|
community.general.scaleway_ip_info:
|
||||||
region: par1
|
region: par1
|
||||||
register: result
|
register: result
|
||||||
|
|
|
@ -76,7 +76,7 @@ options:
|
||||||
from_name:
|
from_name:
|
||||||
type: str
|
type: str
|
||||||
description:
|
description:
|
||||||
- The name you want to appear in the from field, i.e 'John Doe'.
|
- The name you want to appear in the from field, for example V(John Doe).
|
||||||
html_body:
|
html_body:
|
||||||
description:
|
description:
|
||||||
- Whether the body is html content that should be rendered.
|
- Whether the body is html content that should be rendered.
|
||||||
|
|
Loading…
Reference in New Issue