mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-09 21:47:17 +00:00
(cherry picked from commit a96f90ff94)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
73d573b915
commit
247da9890b
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