1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-06 20:17:15 +00:00

Fix non-matching defaults in docs (#5446)

* Allow to pass options as lookup options.

* Adjust tests.

* Fix non-matching defaults.
This commit is contained in:
Felix Fontein 2022-11-01 18:11:02 +01:00 committed by GitHub
parent f1d5f71b8d
commit a978bff2c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 187 additions and 63 deletions

View file

@ -44,6 +44,7 @@ options:
- The default TTL for all records created in the zone. This must be a
valid int from U(https://www.memset.com/apidocs/methods_dns.html#dns.zone_create).
type: int
default: 0
choices: [ 0, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400 ]
force:
required: false

View file

@ -44,11 +44,13 @@ options:
description:
- C(SRV) and C(TXT) record priority, in the range 0 > 999 (inclusive).
type: int
default: 0
record:
required: false
description:
- The subdomain to create.
type: str
default: ''
type:
required: true
description:
@ -65,6 +67,7 @@ options:
description:
- The record's TTL in seconds (will inherit zone's TTL if not explicitly set). This must be a
valid int from U(https://www.memset.com/apidocs/methods_dns.html#dns.zone_record_create).
default: 0
choices: [ 0, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400 ]
type: int
zone: