ahmadalli.ansible.gluster_replicated_volume (0.18.1) — module

Create/Manage GlusterFS Replicated Volumes

| "added in version" 2.10 of ahmadalli.ansible"

Authors: Taneli Leppä (@rosmo), Ahmadali Shafiee (@ahmadalli)

Install collection

Install with ansible-galaxy collection install ahmadalli.ansible:==0.18.1


Add to requirements.yml

  collections:
    - name: ahmadalli.ansible
      version: 0.18.1

Description

This module creates and manages a glusterfs volume which is replicated on all hosts

Inputs

    
host:
    default: The local hostname (FQDN)
    description:
    - Override local hostname (for peer probing purposes).

name:
    aliases:
    - volume
    description:
    - The volume name.
    required: true

force:
    default: false
    description:
    - Controls whether to force the operation or not.
    type: bool

state:
    choices:
    - present
    - absent
    - started
    - stopped
    default: present
    description:
    - Whether the volume should exist or not.

bricks:
    aliases:
    - brick
    description:
    - Brick paths on servers. Multiple brick paths can be separated by commas

cluster:
    default: []
    description:
    - List of hosts to use for probing and brick setup

transport:
    choices:
    - tcp
    - rdma
    - tcp,rdma
    default: tcp
    description:
    - Transport protocol to use for communication with nodes.

start_on_create:
    default: true
    description:
    - Controls whether the volume is started after creation or not, defaults to true.
    type: bool

See also