manala.glusterfs
#######################################################################################################
:exclamation: DEPRECATION :exclamation:
This repository and the role associated are deprecated in favor of the Manala Ansible Collection
You will find informations on its usage on the collection repository
#######################################################################################################
Ansible Role: GlusterFS 
:exclamation: Report issues and send Pull Requests in the main Ansible Role repository :exclamation:
This role will deal with the configuration of GlusterFS.
It's part of the Manala Ansible stack but can be used as a stand alone component.
Requirements
This role is made to work with the glusterfs official packages, available on the glusterfs repository. Please use the manala.apt role to handle it properly.
manala_apt_preferences:
- glusterfs@glusterfs_6
Dependencies
None.
Installation
Ansible 2+
Using ansible galaxy cli:
ansible-galaxy install manala.glusterfs
Using ansible galaxy requirements file:
- src: manala.glusterfs
Role Variables
| Name | Default | Type | Description |
|---|---|---|---|
manala_glusterfs_install_packages |
~ | Array | Dependency packages to install |
manala_glusterfs_install_packages_default |
['glusterfs-server'] | Array | Default dependency packages to install |
manala_glusterfs_volumes |
[] | Array | Volumes settings |
Configuration example
Volumes
manala_glusterfs_volumes:
- name: volume_test
cluster:
- foo
- bar
bricks: /mnt/foo, /mnt/bar
replicas: 2
options:
nfs.disable: "off"
storage.owner-gid: "1234"
storage.owner-uid: "1234"
# Ignore volume
- name: volume_ignore
state: ignore
# Flatten volumes
- "{{ my_custom_volumes_array }}"
- "Options" are expecting strings only. Quotes are required.
- To add bricks, use the same syntax on existent volume.
Licence
MIT
Author information
Manala (http://www.manala.io/)
Install
ansible-galaxy install manala.glusterfsLicense
Unknown
Downloads
901
Owner
Manala is an open source project supported by the french web agency ELAO providing advanced ansible roles for website's infrastructures and far more.
