Normalize more booleans. (#5247)

This commit is contained in:
Felix Fontein 2022-09-06 20:42:17 +02:00 committed by GitHub
parent 570445adc4
commit 015566fb06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
170 changed files with 465 additions and 465 deletions

View file

@ -304,7 +304,7 @@ record:
description: No documentation available.
returned: success
type: bool
sample: False
sample: false
meta:
description: No documentation available.
returned: success
@ -329,12 +329,12 @@ record:
description: Whether this record can be proxied through Cloudflare.
returned: success
type: bool
sample: False
sample: false
proxied:
description: Whether the record is proxied through Cloudflare.
returned: success
type: bool
sample: False
sample: false
ttl:
description: The time-to-live for the record.
returned: success

View file

@ -254,7 +254,7 @@ EXAMPLES = '''
record_name: test
record_type: A
record_value: 127.0.0.1
failover: True
failover: true
ip1: 127.0.0.2
ip2: 127.0.0.3
@ -267,7 +267,7 @@ EXAMPLES = '''
record_name: test
record_type: A
record_value: 127.0.0.1
failover: True
failover: true
ip1: 127.0.0.2
ip2: 127.0.0.3
ip3: 127.0.0.4
@ -320,7 +320,7 @@ EXAMPLES = '''
record_name: test
record_type: A
record_value: 127.0.0.1
failover: True
failover: true
ip1: 127.0.0.2
ip2: 127.0.0.3
monitor: true

View file

@ -20,22 +20,22 @@ options:
api_key:
description:
- "API key for authentication, must be obtained via the netcup CCP (U(https://ccp.netcup.net))."
required: True
required: true
type: str
api_password:
description:
- "API password for authentication, must be obtained via the netcup CCP (U(https://ccp.netcup.net))."
required: True
required: true
type: str
customer_id:
description:
- Netcup customer id.
required: True
required: true
type: int
domain:
description:
- Domainname the records should be added / removed.
required: True
required: true
type: str
record:
description:
@ -47,7 +47,7 @@ options:
description:
- Record type.
choices: ['A', 'AAAA', 'MX', 'CNAME', 'CAA', 'SRV', 'TXT', 'TLSA', 'NS', 'DS']
required: True
required: true
type: str
value:
description:
@ -56,19 +56,19 @@ options:
type: str
solo:
type: bool
default: False
default: false
description:
- Whether the record should be the only one for that record type and record name. Only use with I(state=present).
- This will delete all other records with the same record name and type.
priority:
description:
- Record priority. Required for I(type=MX).
required: False
required: false
type: int
state:
description:
- Whether the record should exist or not.
required: False
required: false
default: present
choices: [ 'present', 'absent' ]
type: str

View file

@ -68,11 +68,11 @@ response:
type: dict
sample:
{
"auth_api": False,
"auth_api": false,
"name": "Foo",
"auth_token": None,
"auth_token": null,
"user_count": 0,
"auth_secret": None,
"auth_secret": null,
"id": "csftwlu6uhralzi2dpmhekz3",
}
"""

View file

@ -49,27 +49,27 @@ organizations:
sample:
[
{
"auth_api": False,
"auth_api": false,
"name": "FooOrg",
"auth_token": None,
"auth_token": null,
"user_count": 0,
"auth_secret": None,
"auth_secret": null,
"id": "csftwlu6uhralzi2dpmhekz3",
},
{
"auth_api": False,
"auth_api": false,
"name": "MyOrg",
"auth_token": None,
"auth_token": null,
"user_count": 3,
"auth_secret": None,
"auth_secret": null,
"id": "58070daee63f3b2e6e472c36",
},
{
"auth_api": False,
"auth_api": false,
"name": "BarOrg",
"auth_token": None,
"auth_token": null,
"user_count": 0,
"auth_secret": None,
"auth_secret": null,
"id": "v1sncsxxybnsylc8gpqg85pg",
}
]