@@ -21,33 +21,33 @@ class ModuleDocFragment(object):
21
21
zone_name:
22
22
description:
23
23
- The DNS zone to modify.
24
- - Exactly one of I (zone_name) and I (zone_id) must be specified.
24
+ - Exactly one of O (zone_name) and O (zone_id) must be specified.
25
25
type: str
26
26
aliases:
27
27
- zone
28
28
zone_id:
29
29
description:
30
30
- The ID of the DNS zone to modify.
31
- - Exactly one of I (zone_name) and I (zone_id) must be specified.
31
+ - Exactly one of O (zone_name) and O (zone_id) must be specified.
32
32
version_added: 0.2.0
33
33
record:
34
34
description:
35
35
- The full DNS record to create or delete.
36
- - Exactly one of I (record) and I (prefix) must be specified.
36
+ - Exactly one of O (record) and O (prefix) must be specified.
37
37
type: str
38
38
prefix:
39
39
description:
40
40
- The prefix of the DNS record.
41
- - This is the part of I (record) before I (zone_name). 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
- - Exactly one of I (record) and I (prefix) must be specified.
41
+ - This is the part of O (record) before O (zone_name). For example, if the record to be modified is C(www.example.com)
42
+ for the zone C(example.com), the prefix is V (www). If the record in this example would be C(example.com), the
43
+ prefix would be V ('') (empty string).
44
+ - Exactly one of O (record) and O (prefix) must be specified.
45
45
type: str
46
46
version_added: 0.2.0
47
47
ttl:
48
48
description:
49
49
- The TTL to give the new record, in seconds.
50
- - Will be ignored if I (state=absent) and I (on_existing=replace).
50
+ - Will be ignored if O (state=absent) and O (on_existing=replace).
51
51
default: 3600
52
52
type: int
53
53
type:
@@ -61,22 +61,22 @@ class ModuleDocFragment(object):
61
61
- YAML lists or multiple comma-spaced values are allowed.
62
62
- When deleting a record all values for the record must be specified or it will
63
63
not be deleted.
64
- - Must be specified if I (state=present) or when I (on_existing) is not C (replace).
65
- - Will be ignored if I (state=absent) and I (on_existing=replace).
64
+ - Must be specified if O (state=present) or when O (on_existing) is not V (replace).
65
+ - Will be ignored if O (state=absent) and O (on_existing=replace).
66
66
type: list
67
67
elements: str
68
68
on_existing:
69
69
description:
70
70
- This option defines the behavior if the record set already exists, but differs from the specified record set.
71
- For this comparison, I (value) and I (ttl) are used for all records of type I (type) matching the I (prefix) resp. I (record).
72
- - If set to C (replace), the record will be updated (I (state=present)) or removed (I (state=absent)).
73
- This is the old I (overwrite=true) behavior.
74
- - If set to C (keep_and_fail), the module will fail and not modify the records.
75
- This is the old I (overwrite=false) behavior if I (state=present).
76
- - If set to C (keep_and_warn), the module will warn and not modify the records.
77
- - If set to C (keep), the module will not modify the records.
78
- This is the old I (overwrite=false) behavior if I (state=absent).
79
- - If I (state=absent) and the value is not C (replace), I (value) must be specified.
71
+ For this comparison, O (value) and O (ttl) are used for all records of type O (type) matching the O (prefix) resp. O (record).
72
+ - If set to V (replace), the record will be updated (O (state=present)) or removed (O (state=absent)).
73
+ This is the old O (overwrite=true) behavior.
74
+ - If set to V (keep_and_fail), the module will fail and not modify the records.
75
+ This is the old O (overwrite=false) behavior if O (state=present).
76
+ - If set to V (keep_and_warn), the module will warn and not modify the records.
77
+ - If set to V (keep), the module will not modify the records.
78
+ This is the old O (overwrite=false) behavior if O (state=absent).
79
+ - If O (state=absent) and the value is not V (replace), O (value) must be specified.
80
80
default: replace
81
81
type: str
82
82
choices:
0 commit comments