mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Fix boolean defaults. (#1343)
This commit is contained in:
parent
3d1f9ed657
commit
a96f90ff94
31 changed files with 34 additions and 14 deletions
|
@ -35,7 +35,7 @@ options:
|
|||
required: true
|
||||
force:
|
||||
type: bool
|
||||
default: "false"
|
||||
default: false
|
||||
description:
|
||||
- Applicable only while removing the nodes from the pool. gluster
|
||||
will refuse to detach a node from the pool if any one of the node
|
||||
|
@ -141,7 +141,7 @@ class Peer(object):
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
force=dict(type='bool', required=False),
|
||||
force=dict(type='bool', required=False, default=False),
|
||||
nodes=dict(type='list', required=True),
|
||||
state=dict(type='str', choices=['absent', 'present'],
|
||||
default='present'),
|
||||
|
|
|
@ -78,6 +78,7 @@ options:
|
|||
- If brick is being created in the root partition, module will fail.
|
||||
Set force to true to override this behaviour.
|
||||
type: bool
|
||||
default: false
|
||||
notes:
|
||||
- Requires cli tools for GlusterFS on servers.
|
||||
- Will add new bricks, but not remove them.
|
||||
|
|
|
@ -31,11 +31,13 @@ options:
|
|||
description:
|
||||
- Remove licenses that have no controller affiliation in the cluster.
|
||||
type: bool
|
||||
default: false
|
||||
|
||||
remove_expired:
|
||||
description:
|
||||
- Remove licenses that have expired in the cluster.
|
||||
type: bool
|
||||
default: false
|
||||
|
||||
serial_number:
|
||||
description:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue