Adjust booleans in misc modules. (#5160)

This commit is contained in:
Felix Fontein
2022-08-24 20:00:26 +02:00
committed by GitHub
parent 7533f9ac26
commit 403c4f7477
27 changed files with 110 additions and 110 deletions

View File

@@ -109,7 +109,7 @@ EXAMPLES = '''
community.general.elasticsearch_plugin:
name: ingest-geoip
state: present
force: yes
force: true
'''
import os

View File

@@ -20,12 +20,12 @@ options:
dsn:
description:
- The connection string passed into ODBC.
required: yes
required: true
type: str
query:
description:
- The SQL query to perform.
required: yes
required: true
type: str
params:
description:
@@ -38,7 +38,7 @@ options:
- Some databases allow a commit after a select whereas others raise an exception.
- Default is C(true) to support legacy module behavior.
type: bool
default: yes
default: true
version_added: 1.3.0
requirements:
- "python >= 2.6"
@@ -58,7 +58,7 @@ EXAMPLES = '''
params:
- "value1"
commit: false
changed_when: no
changed_when: false
'''
RETURN = '''

View File

@@ -57,10 +57,10 @@ options:
type: str
validate_certs:
description:
- If C(no), SSL certificates will not be validated. This should only be used
- If C(false), SSL certificates will not be validated. This should only be used
on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: true
'''
EXAMPLES = '''
@@ -71,7 +71,7 @@ EXAMPLES = '''
- name: Wait for handoffs to finish. Use with async and poll.
community.general.riak:
wait_for_handoffs: yes
wait_for_handoffs: true
- name: Wait for riak_kv service to startup
community.general.riak: