mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 15:34:01 -07:00
arg_spec adjustments: modules [k-n]* (#10507)
* arg_spec adjustments: modules [k-n]* * adjust lxca tests * add changelog frag
This commit is contained in:
parent
0f7cd5473f
commit
5601ef4c57
37 changed files with 146 additions and 113 deletions
|
@ -356,15 +356,15 @@ def main():
|
|||
global module
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
state=dict(required=False, default='present', choices=['present', 'absent'], type='str'),
|
||||
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
||||
api_key=dict(required=True, type='str', no_log=True),
|
||||
zone=dict(required=True, type='str'),
|
||||
type=dict(required=True, choices=['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SRV', 'TXT'], type='str'),
|
||||
address=dict(required=True, aliases=['ip', 'data'], type='str'),
|
||||
record=dict(required=False, default='', type='str'),
|
||||
ttl=dict(required=False, default=0, choices=[0, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400], type='int'),
|
||||
priority=dict(required=False, default=0, type='int'),
|
||||
relative=dict(required=False, default=False, type='bool')
|
||||
record=dict(default='', type='str'),
|
||||
ttl=dict(default=0, choices=[0, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400], type='int'),
|
||||
priority=dict(default=0, type='int'),
|
||||
relative=dict(default=False, type='bool')
|
||||
),
|
||||
supports_check_mode=True
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue