mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-15 17:40:50 -07:00
Normalize more booleans. (#5247)
This commit is contained in:
parent
570445adc4
commit
015566fb06
170 changed files with 465 additions and 465 deletions
|
@ -23,73 +23,73 @@ options:
|
|||
host:
|
||||
description:
|
||||
- Which host do we use as seed for info connection
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
default: localhost
|
||||
port:
|
||||
description:
|
||||
- Which port to connect to Aerospike on (service port)
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 3000
|
||||
connect_timeout:
|
||||
description:
|
||||
- How long to try to connect before giving up (milliseconds)
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 1000
|
||||
consecutive_good_checks:
|
||||
description:
|
||||
- How many times should the cluster report "no migrations"
|
||||
consecutively before returning OK back to ansible?
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 3
|
||||
sleep_between_checks:
|
||||
description:
|
||||
- How long to sleep between each check (seconds).
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 60
|
||||
tries_limit:
|
||||
description:
|
||||
- How many times do we poll before giving up and failing?
|
||||
default: 300
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
local_only:
|
||||
description:
|
||||
- Do you wish to only check for migrations on the local node
|
||||
before returning, or do you want all nodes in the cluster
|
||||
to finish before returning?
|
||||
required: True
|
||||
required: true
|
||||
type: bool
|
||||
min_cluster_size:
|
||||
description:
|
||||
- Check will return bad until cluster size is met
|
||||
or until tries is exhausted
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 1
|
||||
fail_on_cluster_change:
|
||||
description:
|
||||
- Fail if the cluster key changes
|
||||
if something else is changing the cluster, we may want to fail
|
||||
required: False
|
||||
required: false
|
||||
type: bool
|
||||
default: True
|
||||
default: true
|
||||
migrate_tx_key:
|
||||
description:
|
||||
- The metric key used to determine if we have tx migrations
|
||||
remaining. Changeable due to backwards compatibility.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
default: migrate_tx_partitions_remaining
|
||||
migrate_rx_key:
|
||||
description:
|
||||
- The metric key used to determine if we have rx migrations
|
||||
remaining. Changeable due to backwards compatibility.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
default: migrate_rx_partitions_remaining
|
||||
target_cluster_size:
|
||||
|
@ -102,7 +102,7 @@ options:
|
|||
- If this option is specified on a cluster that has at least 1
|
||||
host <4.3 then it will be ignored until the min version reaches
|
||||
4.3.
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
'''
|
||||
EXAMPLES = '''
|
||||
|
@ -114,7 +114,7 @@ EXAMPLES = '''
|
|||
consecutive_good_checks: 5
|
||||
sleep_between_checks: 15
|
||||
tries_limit: 600
|
||||
local_only: False
|
||||
local_only: false
|
||||
|
||||
# example playbook:
|
||||
- name: Upgrade aerospike
|
||||
|
@ -140,7 +140,7 @@ EXAMPLES = '''
|
|||
# Tries Limit * Sleep Between Checks * delay * retries
|
||||
- name: Wait for aerospike migrations
|
||||
community.general.aerospike_migrations:
|
||||
local_only: True
|
||||
local_only: true
|
||||
sleep_between_checks: 1
|
||||
tries_limit: 5
|
||||
consecutive_good_checks: 3
|
||||
|
|
|
@ -24,7 +24,7 @@ options:
|
|||
user_name:
|
||||
description:
|
||||
- Name of the user.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
user_password:
|
||||
description:
|
||||
|
|
|
@ -22,7 +22,7 @@ options:
|
|||
name:
|
||||
description:
|
||||
- Name of the plugin to install.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
|
@ -40,13 +40,13 @@ options:
|
|||
parameter. If, for example, the plugin is already installed, changing this has no
|
||||
effect.
|
||||
- For ES 1.x use url.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
url:
|
||||
description:
|
||||
- Set exact URL to download the plugin from (Only works for ES 1.x).
|
||||
- For ES 2.x and higher, use src.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
timeout:
|
||||
description:
|
||||
|
@ -57,7 +57,7 @@ options:
|
|||
force:
|
||||
description:
|
||||
- "Force batch mode when installing plugins. This is only necessary if a plugin requires additional permissions and console detection fails."
|
||||
default: False
|
||||
default: false
|
||||
type: bool
|
||||
plugin_bin:
|
||||
description:
|
||||
|
|
|
@ -22,7 +22,7 @@ options:
|
|||
name:
|
||||
description:
|
||||
- Name of the plugin to install.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
|
|
|
@ -88,7 +88,7 @@ EXAMPLES = r'''
|
|||
- "select user_name from users;"
|
||||
- select * from SYSTEM;
|
||||
host: "localhost"
|
||||
autocommit: False
|
||||
autocommit: false
|
||||
|
||||
- name: Run several queries from file
|
||||
community.general.hana_query:
|
||||
|
@ -109,7 +109,7 @@ EXAMPLES = r'''
|
|||
query:
|
||||
- "select user_name from users;"
|
||||
- select * from users;
|
||||
autocommit: False
|
||||
autocommit: false
|
||||
'''
|
||||
|
||||
RETURN = r'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue