Fix boolean defaults. (#1343)

This commit is contained in:
Felix Fontein 2020-11-23 12:14:43 +01:00 committed by GitHub
parent 3d1f9ed657
commit a96f90ff94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 34 additions and 14 deletions

View file

@ -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'),