Normalize more booleans. (#5247)

This commit is contained in:
Felix Fontein 2022-09-06 20:42:17 +02:00 committed by GitHub
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

@ -22,7 +22,7 @@ options:
description:
- ZFS boot environment name.
type: str
required: True
required: true
aliases: [ "be" ]
snapshot:
description:
@ -133,7 +133,7 @@ force:
description: If forced action is wanted
returned: always
type: bool
sample: False
sample: false
'''
import os

View file

@ -42,7 +42,7 @@ options:
description:
- Trust imported cert as CAcert.
type: bool
default: False
default: false
version_added: '0.2.0'
pkcs12_path:
description:
@ -122,7 +122,7 @@ EXAMPLES = r'''
keystore_create: true
state: present
cert_alias: LE_RootCA
trust_cacert: True
trust_cacert: true
- name: Import SSL certificate from google.com to a keystore, create it if it doesn't exist
community.general.java_cert:

View file

@ -132,7 +132,7 @@ enabled:
description: whether the service is enabled at system bootstrap
returned: success
type: bool
sample: True
sample: true
preset:
description: whether the enabled status reflects the one set in the relevant C(*.preset) file
returned: success
@ -177,7 +177,7 @@ status:
description: [] # FIXME
returned: success
type: bool
sample: True
sample: true
LogService:
description: [] # FIXME
returned: success
@ -322,7 +322,7 @@ user:
description: whether the user-level service manager is called
returned: success
type: bool
sample: False
sample: false
'''

View file

@ -28,7 +28,7 @@ options:
device:
description: The block device (disk) where to operate.
type: str
required: True
required: true
align:
description: Set alignment for newly created partitions. Use 'undefined' for parted default aligment.
type: str

View file

@ -97,7 +97,7 @@ EXAMPLES = '''
name: zone1
state: present
path: /zones/zone1
sparse: True
sparse: true
root_password: Be9oX7OSwWoU.
config: 'set autoboot=true; add net; set physical=bge0; set address=10.1.1.1; end'

View file

@ -70,7 +70,7 @@ reboot_needed:
description: Whether or not a reboot is required after an update.
returned: always
type: bool
sample: True
sample: true
'''
from ansible.module_utils.basic import AnsibleModule