Skip to content

Commit 34281ae

Browse files
committed
Use semantic markup.
1 parent 99d8851 commit 34281ae

File tree

7 files changed

+49
-49
lines changed

7 files changed

+49
-49
lines changed

plugins/doc_fragments/hosttech.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ class ModuleDocFragment(object):
1818
hosttech_username:
1919
description:
2020
- The username for the Hosttech API user.
21-
- If provided, I(hosttech_password) must also be provided.
22-
- Mutually exclusive with I(hosttech_token).
21+
- If provided, O(hosttech_password) must also be provided.
22+
- Mutually exclusive with O(hosttech_token).
2323
type: str
2424
hosttech_password:
2525
description:
2626
- The password for the Hosttech API user.
27-
- If provided, I(hosttech_password) must also be provided.
28-
- Mutually exclusive with I(hosttech_token).
27+
- If provided, O(hosttech_password) must also be provided.
28+
- Mutually exclusive with O(hosttech_token).
2929
type: str
3030
hosttech_token:
3131
description:
3232
- The password for the Hosttech API user.
33-
- Mutually exclusive with I(hosttech_username) and I(hosttech_password).
33+
- Mutually exclusive with O(hosttech_username) and O(hosttech_password).
3434
type: str
3535
version_added: 0.2.0
3636
'''

plugins/doc_fragments/module_record.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ class ModuleDocFragment(object):
2121
zone:
2222
description:
2323
- The DNS zone to modify.
24-
- Exactly one of I(zone) and I(zone_id) must be specified.
24+
- Exactly one of O(zone) and O(zone_id) must be specified.
2525
type: str
2626
zone_id:
2727
description:
2828
- The ID of the DNS zone to modify.
29-
- Exactly one of I(zone) and I(zone_id) must be specified.
29+
- Exactly one of O(zone) and O(zone_id) must be specified.
3030
version_added: 0.2.0
3131
record:
3232
description:
3333
- The full DNS record to create or delete.
34-
- Exactly one of I(record) and I(prefix) must be specified.
34+
- Exactly one of O(record) and O(prefix) must be specified.
3535
type: str
3636
prefix:
3737
description:
3838
- The prefix of the DNS record.
39-
- This is the part of I(record) before I(zone). For example, if the record to be modified is C(www.example.com)
40-
for the zone C(example.com), the prefix is C(www). If the record in this example would be C(example.com), the
41-
prefix would be C('') (empty string).
42-
- Exactly one of I(record) and I(prefix) must be specified.
39+
- This is the part of O(record) before O(zone). For example, if the record to be modified is V(www.example.com)
40+
for the zone V(example.com), the prefix is V(www). If the record in this example would be V(example.com), the
41+
prefix would be V('') (empty string).
42+
- Exactly one of O(record) and O(prefix) must be specified.
4343
type: str
4444
version_added: 0.2.0
4545
ttl:
@@ -64,9 +64,9 @@ class ModuleDocFragment(object):
6464
elements: str
6565
overwrite:
6666
description:
67-
- If I(state=present), whether an existing record should be overwritten on create if values do not
67+
- If O(state=present), whether an existing record should be overwritten on create if values do not
6868
match.
69-
- If I(state=absent), whether existing records should be deleted if values do not match.
69+
- If O(state=absent), whether existing records should be deleted if values do not match.
7070
default: false
7171
type: bool
7272

plugins/doc_fragments/module_record_info.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,31 @@ class ModuleDocFragment(object):
2323
zone:
2424
description:
2525
- The DNS zone to modify.
26-
- Exactly one of I(zone) and I(zone_id) must be specified.
26+
- Exactly one of O(zone) and O(zone_id) must be specified.
2727
type: str
2828
zone_id:
2929
description:
3030
- The ID of the DNS zone to modify.
31-
- Exactly one of I(zone) and I(zone_id) must be specified.
31+
- Exactly one of O(zone) and O(zone_id) must be specified.
3232
version_added: 0.2.0
3333
record:
3434
description:
3535
- The full DNS record to retrieve.
36-
- If I(what) is C(single_record) or C(all_types_for_record), exactly one of I(record) and I(prefix) is required.
36+
- If O(what) is V(single_record) or V(all_types_for_record), exactly one of O(record) and O(prefix) is required.
3737
type: str
3838
prefix:
3939
description:
4040
- The prefix of the DNS record.
41-
- This is the part of I(record) before I(zone). For example, if the record to be modified is C(www.example.com)
42-
for the zone C(example.com), the prefix is C(www). If the record in this example would be C(example.com), the
43-
prefix would be C('') (empty string).
44-
- If I(what) is C(single_record) or C(all_types_for_record), exactly one of I(record) and I(prefix) is required.
41+
- This is the part of O(record) before O(zone). For example, if the record to be modified is V(www.example.com)
42+
for the zone V(example.com), the prefix is V(www). If the record in this example would be V(example.com), the
43+
prefix would be V('') (empty string).
44+
- If O(what) is V(single_record) or V(all_types_for_record), exactly one of O(record) and O(prefix) is required.
4545
type: str
4646
version_added: 0.2.0
4747
type:
4848
description:
4949
- The type of DNS record to retrieve.
50-
- Required if I(what) is C(single_record).
50+
- Required if O(what) is V(single_record).
5151
choices: ['A', 'CNAME', 'MX', 'AAAA', 'TXT', 'PTR', 'SRV', 'SPF', 'NS', 'CAA']
5252
type: str
5353

plugins/doc_fragments/module_records.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ class ModuleDocFragment(object):
1313
DOCUMENTATION = r'''
1414
description:
1515
- The module allows to set, modify and delete multiple DNS records at once.
16-
- With the I(purge) option, it is also possible to delete existing records
16+
- With the O(purge) option, it is also possible to delete existing records
1717
that are not mentioned in the module parameters. With this, it is possible
1818
to synchronize the expected state of a DNS zone with the expected state.
19-
- "It is possible to ignore certain records by specifying I(ignore: true) for
19+
- "It is possible to ignore certain records by specifying O(ignore=true) for
2020
that record."
2121
2222
options:
2323
zone:
2424
description:
2525
- The DNS zone to modify.
26-
- Exactly one of I(zone) and I(zone_id) must be specified.
26+
- Exactly one of O(zone) and O(zone_id) must be specified.
2727
type: str
2828
zone_id:
2929
description:
3030
- The ID of the DNS zone to modify.
31-
- Exactly one of I(zone) and I(zone_id) must be specified.
31+
- Exactly one of O(zone) and O(zone_id) must be specified.
3232
prune:
3333
description:
34-
- If set to C(true), will remove all existing records in the zone that are not listed in I(records).
34+
- If set to V(true), will remove all existing records in the zone that are not listed in O(records).
3535
type: bool
3636
default: false
3737
records:
@@ -44,15 +44,15 @@ class ModuleDocFragment(object):
4444
record:
4545
description:
4646
- The full DNS record to create or delete.
47-
- Exactly one of I(record) and I(prefix) must be specified.
47+
- Exactly one of O(record) and O(prefix) must be specified.
4848
type: str
4949
prefix:
5050
description:
5151
- The prefix of the DNS record.
52-
- This is the part of I(record) before I(zone). For example, if the record to be modified is C(www.example.com)
53-
for the zone C(example.com), the prefix is C(www). If the record in this example would be C(example.com), the
54-
prefix would be C('') (empty string).
55-
- Exactly one of I(record) and I(prefix) must be specified.
52+
- This is the part of O(record) before O(zone). For example, if the record to be modified is V(www.example.com)
53+
for the zone V(example.com), the prefix is V(www). If the record in this example would be V(example.com), the
54+
prefix would be V('') (empty string).
55+
- Exactly one of O(record) and O(prefix) must be specified.
5656
type: str
5757
ttl:
5858
description:
@@ -71,13 +71,13 @@ class ModuleDocFragment(object):
7171
- YAML lists or multiple comma-spaced values are allowed.
7272
- When deleting a record all values for the record must be specified or it will
7373
not be deleted.
74-
- Must be specified if I(ignore=false).
74+
- Must be specified if O(ignore=false).
7575
type: list
7676
elements: str
7777
ignore:
7878
description:
79-
- If set to C(true), I(value) will be ignored.
80-
- This is useful when I(prune=true), but you do not want certain entries to be removed
79+
- If set to V(true), O(value) will be ignored.
80+
- This is useful when O(prune=true), but you do not want certain entries to be removed
8181
without having to know their current value.
8282
type: bool
8383
default: false

plugins/doc_fragments/module_zone_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ class ModuleDocFragment(object):
1515
zone:
1616
description:
1717
- The DNS zone to modify.
18-
- Exactly one of I(zone) and I(zone_id) must be specified.
18+
- Exactly one of O(zone) and O(zone_id) must be specified.
1919
type: str
2020
zone_id:
2121
description:
2222
- The ID of the DNS zone to modify.
23-
- Exactly one of I(zone) and I(zone_id) must be specified.
23+
- Exactly one of O(zone) and O(zone_id) must be specified.
2424
version_added: 0.2.0
2525
2626
notes:

plugins/modules/hosttech_dns_record_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
set:
5757
description: The fetched record. Is empty if record does not exist.
5858
type: dict
59-
returned: success and I(what) is C(single_record)
59+
returned: success and O(what=single_record)
6060
contains:
6161
record:
6262
description: The record name.
@@ -94,7 +94,7 @@
9494
description: The list of fetched records.
9595
type: list
9696
elements: dict
97-
returned: success and I(what) is not C(single_record)
97+
returned: success and O(what=single_record)
9898
contains:
9999
record:
100100
description: The record name.

plugins/modules/wait_for_txt.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
suboptions:
2828
name:
2929
description:
30-
- A DNS name, like C(www.example.com).
30+
- A DNS name, like V(www.example.com).
3131
type: str
3232
required: true
3333
values:
@@ -38,17 +38,17 @@
3838
required: true
3939
mode:
4040
description:
41-
- Comparison modes for the values in I(values).
42-
- If C(subset), I(values) should be a (not necessarily proper) subset of the TXT values set for
41+
- Comparison modes for the values in O(values).
42+
- If V(subset), O(values) should be a (not necessarily proper) subset of the TXT values set for
4343
the DNS name.
44-
- If C(superset), I(values) should be a (not necessarily proper) superset of the TXT values set
44+
- If V(superset), O(values) should be a (not necessarily proper) superset of the TXT values set
4545
for the DNS name.
4646
This includes the case that no TXT entries are set.
47-
- If C(superset_not_empty), I(values) should be a (not necessarily proper) superset of the TXT
47+
- If V(superset_not_empty), O(values) should be a (not necessarily proper) superset of the TXT
4848
values set for the DNS name, assuming at least one TXT record is present.
49-
- If C(equals), I(values) should be the same set of strings as the TXT values for the DNS name
49+
- If V(equals), O(values) should be the same set of strings as the TXT values for the DNS name
5050
(up to order).
51-
- If C(equals_ordered), I(values) should be the same ordered list of strings as the TXT values
51+
- If V(equals_ordered), O(values) should be the same ordered list of strings as the TXT values
5252
for the DNS name.
5353
type: str
5454
default: subset
@@ -80,9 +80,9 @@
8080
default: 10
8181
always_ask_default_resolver:
8282
description:
83-
- When set to C(true) (default), will use the default resolver to find the authoritative nameservers
83+
- When set to V(true) (default), will use the default resolver to find the authoritative nameservers
8484
of a subzone.
85-
- When set to C(false), will use the authoritative nameservers of the parent zone to find the
85+
- When set to V(false), will use the authoritative nameservers of the parent zone to find the
8686
authoritative nameservers of a subzone. This only makes sense when the nameservers were recently
8787
changed and haven't propagated.
8888
type: bool
@@ -111,7 +111,7 @@
111111
records:
112112
description:
113113
- Results on the TXT records queried.
114-
- The entries are in a 1:1 correspondence to the entries of the I(records) parameter,
114+
- The entries are in a 1:1 correspondence to the entries of the O(records) parameter,
115115
in exactly the same order.
116116
returned: always
117117
type: list

0 commit comments

Comments
 (0)