{"id":15874267,"url":"https://github.com/garutilorenzo/ansible-role-linux-gluster","last_synced_at":"2026-05-05T21:35:35.009Z","repository":{"id":221332309,"uuid":"750951875","full_name":"garutilorenzo/ansible-role-linux-gluster","owner":"garutilorenzo","description":"Ansible role used to install and configure gluster, NFS ganesha and pacemaker for HA","archived":false,"fork":false,"pushed_at":"2024-02-07T11:15:48.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T14:47:34.885Z","etag":null,"topics":["ansible","ansible-role","docker","ganesha","gluster","glusterfs","high-availability","pacemaker"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garutilorenzo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-31T16:39:53.000Z","updated_at":"2024-02-09T20:49:58.000Z","dependencies_parsed_at":"2024-02-07T12:34:47.958Z","dependency_job_id":"bf1f3499-0efe-4ad2-afff-901188d34026","html_url":"https://github.com/garutilorenzo/ansible-role-linux-gluster","commit_stats":null,"previous_names":["garutilorenzo/ansible-role-linux-gluster"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Fansible-role-linux-gluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Fansible-role-linux-gluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Fansible-role-linux-gluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Fansible-role-linux-gluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garutilorenzo","download_url":"https://codeload.github.com/garutilorenzo/ansible-role-linux-gluster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246724802,"owners_count":20823543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","docker","ganesha","gluster","glusterfs","high-availability","pacemaker"],"created_at":"2024-10-06T01:21:35.368Z","updated_at":"2026-05-05T21:35:29.979Z","avatar_url":"https://github.com/garutilorenzo.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub issues](https://img.shields.io/github/issues/garutilorenzo/ansible-role-linux-gluster)](https://github.com/garutilorenzo/ansible-role-linux-gluster/issues)\n![GitHub](https://img.shields.io/github/license/garutilorenzo/ansible-role-linux-gluster)\n[![GitHub forks](https://img.shields.io/github/forks/garutilorenzo/ansible-role-linux-gluster)](https://github.com/garutilorenzo/ansible-role-linux-gluster/network)\n[![GitHub stars](https://img.shields.io/github/stars/garutilorenzo/ansible-role-linux-gluster)](https://github.com/garutilorenzo/ansible-role-linux-gluster/stargazers)\n\n# Install and configure gluster in HA mode\n\nAnsible role used to install and configure gluster, NFS ganesha and pacemaker for HA\n\n## Requirements\n\nInstall ansible, ipaddr and netaddr:\n\n```\npip install -r requirements.txt\n```\n\nDownload the role form GitHub:\n\n```\nansible-galaxy install git+https://github.com/garutilorenzo/ansible-role-linux-gluster.git\n```\n\nYour inventory file must have the following groups:\n\n* gluster\n\n## Role Variables\n\n**NOTE:** only replicated volume supported at the moment \n\nThis role accept this variables:\n\n| Var   | Required |  Default | Desc |\n| ------- | ------- | ----------- |  ----------- |\n| `gluster_vip_ip`       | `yes`       | `dns`       | Gluster VIP ip used for HA. Must be in the network subnet where gluster and pacemaker daemon are listening |\n| `hacluster_password`       | `yes`       | `dns`       | Secrets used for hacluster user |\n| `gluster_subnet`       | `no`       | ``       | If the server have multiple network interfaces, specify the subnet where the gluster and pacemaker daemon are listening. |\n| `gluster_resolv_mode`       | `no`       | `dns`       | Determinate how nodes will be resolved, used for local testing purposes where dns is not available. |\n| `gluster_volume`       | `no`       | `example`       | The name of the NFS volume exposed by NFS ganesha |\n| `gluster_path`       | `no`       | `/tank/`       | Gluster local storage directory |\n| `gluster_volume_type`       | `no`       | `replica`       | Gluster volume type `stripe | replica | disperse`. For more detail see [here](https://docs.gluster.org/en/v3/Administrator%20Guide/Setting%20Up%20Volumes/) |\n| `gluster_volume_replica_count_type`       | `no`       | `3`       | Gluster local storage directory |\n\n## Example playbook\n\nHere one example playbook:\n\n```yaml\n- hosts: gluster\n  become: yes\n  remote_user: vagrant\n  roles: \n    - role: ansible-role-linux-gluster\n```\n\n## TODO\n\n* Support for striped and disperse volume\n* Create the FS not only the directory","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarutilorenzo%2Fansible-role-linux-gluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarutilorenzo%2Fansible-role-linux-gluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarutilorenzo%2Fansible-role-linux-gluster/lists"}