Code Monkey home page Code Monkey logo

ansible-glusterfs's Introduction

GlusterFS

This role installs and configures GlusterFS.

Usage

You can add this role as a dependency of another role, or directly in your playbook. You also have to define the glusterfs_cluster_name variable in your inventory.

Dependencies

In your role's meta, add a dependency to this role using the syntax described below.

# my_role/meta/main.yml
dependencies:
  - role: aerisloud.glusterfs
    gluster_volumes:
        - brick1
        - brick2

Playbook

If you didn't define this role as a dependency of another role, you have to add it to your playbook.

- hosts: mesos
  gather_facts: true
  sudo: true
  roles:
    - role: aeriscloud.glusterfs
      gluster_volumes:
        - brick1
        - brick2

Inventory

[glusterfs]
node1.glusterfs
node2.glusterfs
node3.glusterfs

[glusterfs:vars]
glusterfs_cluster_name=glusterfs

Variables

  • gluster_volumes is a list of the volumes you want to create.
  • glusterfs_cluster_name must be set to the name of the group containing all the nodes of the GlusterFS cluster.
  • glusterfs_version is the Gluster version. Choices are '36', '37 or '38' which provides 3.6, 3.7 or 3.8, respectively. Default is '38'.

See also

ansible-glusterfs's People

Contributors

milk avatar tokyowizard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.