Adjust booleans in misc modules. (#5160) (#5174)

(cherry picked from commit 403c4f7477)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-08-24 20:29:08 +02:00 committed by GitHub
commit c5ff49db56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 110 additions and 110 deletions

View file

@ -36,15 +36,15 @@ options:
type: str
use_ssl:
description:
- If C(no), an HTTP connection will be used instead of the default HTTPS connection.
- If C(false), an HTTP connection will be used instead of the default HTTPS connection.
type: bool
default: 'yes'
default: true
validate_certs:
description:
- If C(no), SSL certificates will not be validated.
- This should only set to C(no) when used on personally controlled sites using self-signed certificates.
- If C(false), SSL certificates will not be validated.
- This should only set to C(false) when used on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: true
author:
- Dag Wieers (@dagwieers)
todo:
@ -60,7 +60,7 @@ EXAMPLES = r'''
host: cobbler01
username: cobbler
password: MySuperSecureP4sswOrd
run_once: yes
run_once: true
delegate_to: localhost
'''

View file

@ -36,15 +36,15 @@ options:
type: str
use_ssl:
description:
- If C(no), an HTTP connection will be used instead of the default HTTPS connection.
- If C(false), an HTTP connection will be used instead of the default HTTPS connection.
type: bool
default: 'yes'
default: true
validate_certs:
description:
- If C(no), SSL certificates will not be validated.
- This should only set to C(no) when used on personally controlled sites using self-signed certificates.
- If C(false), SSL certificates will not be validated.
- This should only set to C(false) when used on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: true
name:
description:
- The system name to manage.
@ -62,7 +62,7 @@ options:
- Sync on changes.
- Concurrently syncing Cobbler is bound to fail.
type: bool
default: no
default: false
state:
description:
- Whether the system should be present, absent or a query is made.
@ -101,7 +101,7 @@ EXAMPLES = r'''
password: ins3965!
name: bdsol-aci51-apic1.cisco.com
properties:
netboot_enabled: yes
netboot_enabled: true
state: present
delegate_to: localhost

View file

@ -63,7 +63,7 @@ options:
description:
- Whether to force a reboot (even when the system is already booted).
- As a safeguard, without force, hpilo_boot will refuse to reboot a server that is already running.
default: no
default: false
type: bool
ssl_version:
description:

View file

@ -36,7 +36,7 @@ options:
verbose:
description:
- Run hponcfg in verbose mode (-v).
default: no
default: false
type: bool
requirements:
- hponcfg tool

View file

@ -71,10 +71,10 @@ options:
type: int
validate_certs:
description:
- If C(no), SSL certificates will not be validated.
- This should only set to C(no) used on personally controlled sites using self-signed certificates.
- If C(false), SSL certificates will not be validated.
- This should only set to C(false) used on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: true
notes:
- The XML fragments don't need an authentication cookie, this is injected by the module automatically.
- The Cisco IMC XML output is being translated to JSON using the Cobra convention.
@ -93,7 +93,7 @@ EXAMPLES = r'''
hostname: '{{ imc_hostname }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
validate_certs: no
validate_certs: false
content: |
<configConfMo><inConfig>
<computeRackUnit dn="sys/rack-unit-1" adminPower="down"/>
@ -105,7 +105,7 @@ EXAMPLES = r'''
hostname: '{{ imc_hostname }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
validate_certs: no
validate_certs: false
timeout: 120
content: |
<!-- Configure Serial-on-LAN -->
@ -130,7 +130,7 @@ EXAMPLES = r'''
hostname: '{{ imc_hostname }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
validate_certs: no
validate_certs: false
content: |
<!-- Configure PXE boot -->
<configConfMo><inConfig>
@ -148,7 +148,7 @@ EXAMPLES = r'''
hostname: '{{ imc_host }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
validate_certs: no
validate_certs: false
content: |
<configConfMo><inConfig>
<lsbootStorage dn="sys/rack-unit-1/boot-policy/storage-read-write" access="read-write" order="1" type="storage"/>
@ -160,7 +160,7 @@ EXAMPLES = r'''
hostname: '{{ imc_host }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
validate_certs: no
validate_certs: false
content: |
<configConfMo><inConfig>
<computeRackUnit dn="sys/rack-unit-1" usrLbl="Customer Lab - POD{{ pod_id }} - {{ inventory_hostname_short }}"/>
@ -172,7 +172,7 @@ EXAMPLES = r'''
hostname: '{{ imc_host }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
validate_certs: no
validate_certs: false
timeout: 120
content: |
<configConfMo><inConfig>

View file

@ -77,14 +77,14 @@ options:
- If set, ask that system firmware uses this device beyond next boot.
Be aware many systems do not honor this.
type: bool
default: 'no'
default: false
uefiboot:
description:
- If set, request UEFI boot explicitly.
Strictly speaking, the spec suggests that if not set, the system should BIOS boot and offers no "don't care" option.
In practice, this flag not being set does not preclude UEFI boot on any system I've encountered.
type: bool
default: 'no'
default: false
requirements:
- "python >= 2.6"
- pyghmi

View file

@ -59,7 +59,7 @@ options:
aliases: [ keystone_v3_domain_id ]
tenant_mapping_enabled:
type: bool
default: 'no'
default: false
description: Whether to enable mapping of existing tenants. defaults to False.
api_version:
type: str
@ -88,7 +88,7 @@ options:
validate_certs:
description: Whether SSL certificates should be verified for HTTPS requests (deprecated). defaults to True.
type: bool
default: 'yes'
default: true
security_protocol:
type: str
description: How SSL certificates should be used for HTTPS requests. defaults to None.
@ -119,7 +119,7 @@ options:
validate_certs:
description: Whether SSL certificates should be verified for HTTPS requests (deprecated). defaults to True.
type: bool
default: 'yes'
default: true
security_protocol:
type: str
choices: ['ssl-with-validation','ssl-with-validation-custom-ca','ssl-without-validation','non-ssl']
@ -179,7 +179,7 @@ options:
description:
- Whether certificates should be verified for connections.
type: bool
default: yes
default: true
aliases: [ verify_ssl ]
'''

View file

@ -56,7 +56,7 @@ options:
description:
- Set value to C(true) to force node into install state if it already exists in stacki.
type: bool
default: no
default: false
state:
description:
- Set value to the desired state for the specified host.