mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 19:50:25 -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue