Fix filter and test docs (#215)

* Fix filter and test documentation syntax errors.

Most cases were strings that were YAML-parsable as dictionaries due to colons,
sometimes of the form `str: str`, and sometimes of the form `str: list`.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pull/219/head
Felix Fontein 2022-10-14 19:02:22 +02:00 committed by GitHub
parent 3f05496840
commit b73ed61a47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
55 changed files with 71 additions and 126 deletions

View File

@ -0,0 +1,3 @@
---
trivial:
- Fix the filter and test documentation to render well on the Ansible docsite.

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents an IP address of a host or network</div>
<div>{&#x27;For example&#x27;: &#x27;10.1.1.1&#x27;}</div>
<div>For example: <code>10.1.1.1</code></div>
</td>
</tr>
<tr>
@ -69,7 +69,7 @@ Parameters
</td>
<td>
<div>A list of string and each string represents a network address in CIDR form</div>
<div>{&#x27;For example&#x27;: [&#x27;10.0.0.0/8&#x27;, &#x27;192.168.1.0/24&#x27;]}</div>
<div>For example: <code>[&#x27;10.0.0.0/8&#x27;, &#x27;192.168.1.0/24&#x27;]</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents an IP address</div>
<div>{&#x27;For example&#x27;: &#x27;10.1.1.1&#x27;}</div>
<div>For example: <code>10.1.1.1</code></div>
</td>
</tr>
<tr>
@ -69,7 +69,7 @@ Parameters
</td>
<td>
<div>A string that represents the network address in CIDR form</div>
<div>{&#x27;For example&#x27;: &#x27;10.0.0.0/8&#x27;}</div>
<div>For example: <code>10.0.0.0/8</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents an IP address</div>
<div>{&#x27;For example&#x27;: &#x27;10.1.1.1&#x27;}</div>
<div>For example: <code>10.1.1.1</code></div>
</td>
</tr>
<tr>
@ -69,7 +69,7 @@ Parameters
</td>
<td>
<div>A list of string and each string represents a network address in CIDR form</div>
<div>{&#x27;For example&#x27;: [&#x27;10.0.0.0/8&#x27;, &#x27;192.168.1.0/24&#x27;]}</div>
<div>For example: <code>[&#x27;10.0.0.0/8&#x27;, &#x27;192.168.1.0/24&#x27;]</code></div>
</td>
</tr>
</table>

View File

@ -132,7 +132,7 @@ Parameters
</td>
<td>
<div>The value used to test each list item against.</div>
<div>{&#x27;Not required for simple tests (eg&#x27;: &#x27;<code>true</code>, <code>false</code>, <code>even</code>, <code>odd</code>)&#x27;}</div>
<div>Not required for simple tests (eg: <code>true</code>, <code>false</code>, <code>even</code>, <code>odd</code>)</div>
<div>May be a <code>string</code>, <code>boolean</code>, <code>number</code>, <code>regular expression</code> <code>dict</code> and so on, depending on the <code>test</code> used</div>
</td>
</tr>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.1&#x27;, &#x27;hello-world&#x27;]}</div>
<div>For example: <code>10.1.1.1</code> or <code>&quot;hello-world&quot;</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.1&#x27;, &#x27;2001:db8:a::123&#x27;, &#x27;hello-world&#x27;]}</div>
<div>For example: <code>10.1.1.1</code>, <code>2001:db8:a::123</code>, or <code>&quot;hello-world&quot;</code></div>
</td>
</tr>
</table>

View File

@ -69,7 +69,7 @@ Parameters
<td>
<div>You can provide a single argument to each ipaddr() filter.</div>
<div>The filter will then treat it as a query and return values modified by that query.</div>
<div>{&#x27;Types of queries include&#x27;: [{&#x27;query by name&#x27;: &quot;ansible.utils.ipaddr(&#x27;address&#x27;), ansible.utils.ipv4(&#x27;network&#x27;);&quot;}, {&#x27;query by CIDR range&#x27;: &quot;ansible.utils.ipaddr(&#x27;192.168.0.0/24&#x27;), ansible.utils.ipv6(&#x27;2001:db8::/32&#x27;);&quot;}, {&#x27;query by index number&#x27;: &quot;ansible.utils.ipaddr(&#x27;1&#x27;), ansible.utils.ipaddr(&#x27;-1&#x27;);&quot;}]}</div>
<div>Types of queries include: 1. query by name: ansible.utils.ipaddr(&#x27;address&#x27;), ansible.utils.ipv4(&#x27;network&#x27;); 2. query by CIDR range: ansible.utils.ipaddr(&#x27;192.168.0.0/24&#x27;), ansible.utils.ipv6(&#x27;2001:db8::/32&#x27;); 3. query by index number: ansible.utils.ipaddr(&#x27;1&#x27;), ansible.utils.ipaddr(&#x27;-1&#x27;);</div>
</td>
</tr>
<tr>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.1&#x27;, &#x27;10.0.0.0/8&#x27;, &#x27;fe80::216:3eff:fee4:16f3&#x27;]}</div>
<div>For example: <code>10.1.1.1</code>, <code>10.0.0.0/8</code>, or <code>fe80::216:3eff:fee4:16f3</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;0.1.255.255&#x27;, &#x27;255.255.255.0&#x27;]}</div>
<div>For example: <code>0.1.255.255</code> or <code>255.255.255.0</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;0.1.255.255&#x27;, &#x27;255.255.255.0&#x27;]}</div>
<div>For example: <code>0.1.255.255</code> or <code>255.255.255.0</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.1&#x27;, &#x27;10.0.0.0/8&#x27;, &#x27;fe80::216:3eff:fee4:16f3&#x27;]}</div>
<div>For example: <code>10.1.1.1</code>, <code>10.0.0.0/8</code>, or <code>fe80::216:3eff:fee4:16f3</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.1&#x27;, &#x27;10.0.0.0/8&#x27;, &#x27;fe80::216:3eff:fee4:16f3&#x27;]}</div>
<div>For example: <code>10.1.1.1</code>, <code>10.0.0.0/8</code>, or <code>fe80::216:3eff:fee4:16f3</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;::FFFF:10.1.1.1&#x27;, &#x27;::AAAA:10.1.1.1&#x27;, &#x27;helloworld&#x27;]}</div>
<div>For example: <code>::FFFF:10.1.1.1</code>, <code>::AAAA:10.1.1.1</code>, or <code>&quot;helloworld&quot;</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;2002:c0a8:6301:1::1&#x27;, &#x27;::AAAA:10.1.1.1&#x27;, &#x27;hello_world&#x27;]}</div>
<div>For example: <code>2002:c0a8:6301:1::1</code>, <code>::AAAA:10.1.1.1</code>, or <code>&quot;hello_world&quot;</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;2001::c0a8:6301:1&#x27;, &#x27;2002::c0a8:6301:1&#x27;, &#x27;hello_world&#x27;]}</div>
<div>For example: <code>2001::c0a8:6301:1</code>, <code>2002::c0a8:6301:1</code>, or <code>&quot;hello_world&quot;</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.1&#x27;, &#x27;10.0.0.0/8&#x27;, &#x27;fe80::216:3eff:fee4:16f3&#x27;]}</div>
<div>For example: <code>10.1.1.1</code>, <code>10.0.0.0/8</code>, or <code>fe80::216:3eff:fee4:16f3</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;127.0.0.1&#x27;, &#x27;2002::c0a8:6301:1&#x27;]}</div>
<div>For example: <code>127.0.0.1</code> or <code>2002::c0a8:6301:1</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;02:16:3e:e4:16:f3&#x27;, &#x27;02-16-3e-e4-16-f3&#x27;, &#x27;0216.3ee4.16f3&#x27;, &#x27;02163ee416f3&#x27;]}</div>
<div>For example: <code>02:16:3e:e4:16:f3</code>, <code>02-16-3e-e4-16-f3</code>, <code>0216.3ee4.16f3</code>, or <code>02163ee416f3</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;224.0.0.1&#x27;, &#x27;127.0.0.1&#x27;]}</div>
<div>For example: <code>224.0.0.1</code> or <code>127.0.0.1</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.1&#x27;, &#x27;8.8.8.8&#x27;, &#x27;192.168.1.250&#x27;]}</div>
<div>For example: <code>10.1.1.1</code>, <code>8.8.8.8</code>, or <code>192.168.1.250</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;8.8.8.8&#x27;, &#x27;10.1.1.1&#x27;, &#x27;192.168.1.250&#x27;]}</div>
<div>For example: <code>8.8.8.8</code>, <code>10.1.1.1</code>, or <code>192.168.1.250</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;253.0.0.1&#x27;, &#x27;128.146.1.7&#x27;]}</div>
<div>For example: <code>253.0.0.1</code> or <code>128.146.1.7</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the IP address or the host name</div>
<div>{&#x27;For example&#x27;: [&#x27;docs.ansible.com&#x27;, &#x27;127.0.0.1&#x27;, &#x27;::1&#x27;]}</div>
<div>For example: <code>&quot;docs.ansible.com&quot;</code>, <code>127.0.0.1</code>, or <code>::1</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the first network address</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.0/24&#x27;]}</div>
<div>For example: <code>10.1.1.0/24</code></div>
</td>
</tr>
<tr>
@ -69,7 +69,7 @@ Parameters
</td>
<td>
<div>A string that represents the second network address</div>
<div>{&#x27;For example&#x27;: [&#x27;10.0.0.0/8&#x27;]}</div>
<div>For example: <code>10.0.0.0/8</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the first network address</div>
<div>{&#x27;For example&#x27;: [&#x27;10.1.1.0/24&#x27;]}</div>
<div>For example: <code>10.1.1.0/24</code></div>
</td>
</tr>
<tr>
@ -69,7 +69,7 @@ Parameters
</td>
<td>
<div>A string that represents the second network address</div>
<div>{&#x27;For example&#x27;: [&#x27;10.0.0.0/8&#x27;]}</div>
<div>For example: <code>10.0.0.0/8</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents the value against which the test is going to be performed</div>
<div>{&#x27;For example&#x27;: [&#x27;0.0.0.0&#x27;, &#x27;0:0:0:0:0:0:0:0&#x27;, &#x27;::&#x27;, &#x27;::1&#x27;]}</div>
<div>For example: <code>0.0.0.0</code>, <code>0:0:0:0:0:0:0:0</code>, <code>::</code>, or <code>::1</code></div>
</td>
</tr>
</table>

View File

@ -50,7 +50,7 @@ Parameters
</td>
<td>
<div>A string that represents an IP address of network in CIDR form</div>
<div>{&#x27;For example&#x27;: [&#x27;10.0.0.0/24&#x27;, &#x27;2001:db8:abcd:0012::0/124&#x27;]}</div>
<div>For example: <code>10.0.0.0/24</code> or <code>2001:db8:abcd:0012::0/124</code></div>
</td>
</tr>
</table>

View File

@ -40,7 +40,7 @@ DOCUMENTATION = """
value:
description:
- The value used to test each list item against.
- Not required for simple tests (eg: C(true), C(false), C(even), C(odd))
- 'Not required for simple tests (eg: C(true), C(false), C(even), C(odd))'
- May be a C(string), C(boolean), C(number), C(regular expression) C(dict) and so on, depending on the C(test) used
type: raw
key:

View File

@ -61,10 +61,11 @@ DOCUMENTATION = """
description:
- You can provide a single argument to each ipaddr() filter.
- The filter will then treat it as a query and return values modified by that query.
- Types of queries include:
- query by name: ansible.utils.ipaddr('address'), ansible.utils.ipv4('network');
- query by CIDR range: ansible.utils.ipaddr('192.168.0.0/24'), ansible.utils.ipv6('2001:db8::/32');
- query by index number: ansible.utils.ipaddr('1'), ansible.utils.ipaddr('-1');
- >-
Types of queries include:
1. query by name: ansible.utils.ipaddr('address'), ansible.utils.ipv4('network');
2. query by CIDR range: ansible.utils.ipaddr('192.168.0.0/24'), ansible.utils.ipv6('2001:db8::/32');
3. query by index number: ansible.utils.ipaddr('1'), ansible.utils.ipaddr('-1');
type: str
default: ''
version:

View File

@ -31,9 +31,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents an IP address of network in CIDR form
- For example:
- "10.0.0.0/24"
- "2001:db8:abcd:0012::0/124"
- 'For example: C(10.0.0.0/24) or C(2001:db8:abcd:0012::0/124)'
type: str
required: True
notes:

View File

@ -26,13 +26,13 @@ DOCUMENTATION = """
ip:
description:
- A string that represents an IP address of a host or network
- For example: "10.1.1.1"
- 'For example: C(10.1.1.1)'
type: str
required: True
networks:
description:
- A list of string and each string represents a network address in CIDR form
- For example: ['10.0.0.0/8', '192.168.1.0/24']
- "For example: C(['10.0.0.0/8', '192.168.1.0/24'])"
type: list
required: True
notes:

View File

@ -30,13 +30,13 @@ DOCUMENTATION = """
ip:
description:
- A string that represents an IP address
- For example: "10.1.1.1"
- 'For example: C(10.1.1.1)'
type: str
required: True
network:
description:
- A string that represents the network address in CIDR form
- For example: "10.0.0.0/8"
- 'For example: C(10.0.0.0/8)'
type: str
required: True
notes:

View File

@ -28,13 +28,13 @@ DOCUMENTATION = """
ip:
description:
- A string that represents an IP address
- For example: "10.1.1.1"
- 'For example: C(10.1.1.1)'
type: str
required: True
networks:
description:
- A list of string and each string represents a network address in CIDR form
- For example: ['10.0.0.0/8', '192.168.1.0/24']
- "For example: C(['10.0.0.0/8', '192.168.1.0/24'])"
type: list
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "10.1.1.1"
- "2001:db8:a::123"
- "hello-world"
- 'For example: C(10.1.1.1), C(2001:db8:a::123), or C("hello-world")'
type: str
required: True
notes:

View File

@ -29,9 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "10.1.1.1"
- "hello-world"
- 'For example: C(10.1.1.1) or C("hello-world")'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "10.1.1.1"
- "10.0.0.0/8"
- "fe80::216:3eff:fee4:16f3"
- 'For example: C(10.1.1.1), C(10.0.0.0/8), or C(fe80::216:3eff:fee4:16f3)'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "10.1.1.1"
- "10.0.0.0/8"
- "fe80::216:3eff:fee4:16f3"
- 'For example: C(10.1.1.1), C(10.0.0.0/8), or C(fe80::216:3eff:fee4:16f3)'
type: str
required: True
notes:

View File

@ -29,9 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "0.1.255.255"
- "255.255.255.0"
- 'For example: C(0.1.255.255) or C(255.255.255.0)'
type: str
required: True
notes:

View File

@ -29,9 +29,7 @@ DOCUMENTATION = """
mask:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "0.1.255.255"
- "255.255.255.0"
- 'For example: C(0.1.255.255) or C(255.255.255.0)'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "10.1.1.1"
- "10.0.0.0/8"
- "fe80::216:3eff:fee4:16f3"
- 'For example: C(10.1.1.1), C(10.0.0.0/8), or C(fe80::216:3eff:fee4:16f3)'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "10.1.1.1"
- "10.0.0.0/8"
- "fe80::216:3eff:fee4:16f3"
- 'For example: C(10.1.1.1), C(10.0.0.0/8), or C(fe80::216:3eff:fee4:16f3)'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "::FFFF:10.1.1.1"
- "::AAAA:10.1.1.1"
- "helloworld"
- 'For example: C(::FFFF:10.1.1.1), C(::AAAA:10.1.1.1), or C("helloworld")'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "2002:c0a8:6301:1::1"
- "::AAAA:10.1.1.1"
- "hello_world"
- 'For example: C(2002:c0a8:6301:1::1), C(::AAAA:10.1.1.1), or C("hello_world")'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "2001::c0a8:6301:1"
- "2002::c0a8:6301:1"
- "hello_world"
- 'For example: C(2001::c0a8:6301:1), C(2002::c0a8:6301:1), or C("hello_world")'
type: str
required: True
notes:

View File

@ -29,9 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "127.0.0.1"
- "2002::c0a8:6301:1"
- 'For example: C(127.0.0.1) or C(2002::c0a8:6301:1)'
type: str
required: True
notes:

View File

@ -27,11 +27,7 @@ DOCUMENTATION = """
mac:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "02:16:3e:e4:16:f3"
- "02-16-3e-e4-16-f3"
- "0216.3ee4.16f3"
- "02163ee416f3"
- 'For example: C(02:16:3e:e4:16:f3), C(02-16-3e-e4-16-f3), C(0216.3ee4.16f3), or C(02163ee416f3)'
type: str
required: True
notes:

View File

@ -29,9 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "224.0.0.1"
- "127.0.0.1"
- 'For example: C(224.0.0.1) or C(127.0.0.1)'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "10.1.1.1"
- "8.8.8.8"
- "192.168.1.250"
- 'For example: C(10.1.1.1), C(8.8.8.8), or C(192.168.1.250)'
type: str
required: True
notes:

View File

@ -29,10 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "8.8.8.8"
- "10.1.1.1"
- "192.168.1.250"
- 'For example: C(8.8.8.8), C(10.1.1.1), or C(192.168.1.250)'
type: str
required: True
notes:

View File

@ -29,9 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "253.0.0.1"
- "128.146.1.7"
- 'For example: C(253.0.0.1) or C(128.146.1.7)'
type: str
required: True
notes:

View File

@ -36,10 +36,7 @@ DOCUMENTATION = """
host:
description:
- A string that represents the IP address or the host name
- For example:
- "docs.ansible.com"
- 127.0.0.1
- ::1
- 'For example: C("docs.ansible.com"), C(127.0.0.1), or C(::1)'
type: str
required: True
notes:

View File

@ -30,15 +30,13 @@ DOCUMENTATION = """
network_a:
description:
- A string that represents the first network address
- For example:
- "10.1.1.0/24"
- 'For example: C(10.1.1.0/24)'
type: str
required: True
network_b:
description:
- A string that represents the second network address
- For example:
- "10.0.0.0/8"
- 'For example: C(10.0.0.0/8)'
type: str
required: True
notes:

View File

@ -30,15 +30,13 @@ DOCUMENTATION = """
network_a:
description:
- A string that represents the first network address
- For example:
- "10.1.1.0/24"
- 'For example: C(10.1.1.0/24)'
type: str
required: True
network_b:
description:
- A string that represents the second network address
- For example:
- "10.0.0.0/8"
- 'For example: C(10.0.0.0/8)'
type: str
required: True
notes:

View File

@ -29,11 +29,7 @@ DOCUMENTATION = """
ip:
description:
- A string that represents the value against which the test is going to be performed
- For example:
- "0.0.0.0"
- "0:0:0:0:0:0:0:0"
- "::"
- "::1"
- 'For example: C(0.0.0.0), C(0:0:0:0:0:0:0:0), C(::), or C(::1)'
type: str
required: True
notes: