{"id":50385236,"url":"https://github.com/stackhpc/ansible-role-gluster-cluster","last_synced_at":"2026-05-30T14:31:12.407Z","repository":{"id":37752320,"uuid":"131722645","full_name":"stackhpc/ansible-role-gluster-cluster","owner":"stackhpc","description":"Lightweight role for deploying a Gluster cluster","archived":false,"fork":false,"pushed_at":"2022-08-03T08:03:08.000Z","size":21,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-14T22:50:17.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackhpc.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2018-05-01T14:28:44.000Z","updated_at":"2022-07-27T14:27:30.000Z","dependencies_parsed_at":"2022-08-08T21:31:02.904Z","dependency_job_id":null,"html_url":"https://github.com/stackhpc/ansible-role-gluster-cluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stackhpc/ansible-role-gluster-cluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-gluster-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-gluster-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-gluster-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-gluster-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackhpc","download_url":"https://codeload.github.com/stackhpc/ansible-role-gluster-cluster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-gluster-cluster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33696681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-05-30T14:31:11.845Z","updated_at":"2026-05-30T14:31:12.394Z","avatar_url":"https://github.com/stackhpc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Gluster Cluster\n===============\n\nThis is a lightweight and opinionated role for configuring a Gluster cluster,\nserving a single volume and spanning multiple nodes.\n\nThe role will attempt to use all hosts active in the play.\n\nRequirements\n------------\n\n* Only Centos hosts are currently supported.\n\n* The hosts must be homogeneous with respect to block devices. In particular\n  the block devices specified in  ```gluster_cluster_block_devices``` should\n  exist in all nodes within the cluster.\n\nRole Variables (required)\n-------------------------\n\n* ``gluster_cluster_volume_name``: Name of the Gluster volume to create.\n* ``gluster_cluster_block_devices``: List of block devices to create bricks from.\n* ``gluster_cluster_transport_interface``: For example: ``ib0``, ``enp0s1``.\n* ``gluster_cluster_transport_mode``: Either ``tcp`` or ``rdma``.\n\n\nRole Variables (optional)\n-------------------------\n\n* ``gluster_cluster_hosts``: Defaults to all hosts in the\n  ``gluster_cluster_storage_group_name`` group. The hosts which provide the bricks\n  for the volume provided by the Gluster cluster.\n* ``gluster_cluster_storage_group_name``: Defaults to ``storage``. The Ansible\n  group name of storage hosts from the inventory file.\n* ``gluster_cluster_volume_options``: A dict of Gluster volume options.\n* ``gluster_cluster_volume_base_path``: The base folder in which to store volumes.\n* ``gluster_cluster_stripes``: Default to ``0``. See [1].\n* ``gluster_cluster_disperses``: Defaults to ``0``. See [1].\n* ``gluster_cluster_replicas``: Defaults to ``0``. See [1].\n* ``gluster_cluster_redundancies``: Defaults to ``0``. See [1].\n\n[1] https://docs.gluster.org/en/v3/Administrator%20Guide/Setting%20Up%20Volumes/\n\nDependencies\n------------\n\nNone\n\nExample Playbook\n----------------\n\nThe following playbook configures a Gluster volume:\n\n    ---\n    - name: Configure Gluster\n      hosts: storage\n      roles:\n        - role: gluster-cluster\n          gluster_cluster_volume_name: my_volume\n          gluster_cluster_block_devices:\n            - sdb\n            - sdc\n            - sdd\n          gluster_cluster_transport_interface: ib0\n          gluster_cluster_transport_mode: rdma\n          gluster_cluster_volume_options:\n            cluster.nufa: 'on'\n\nAuthor Information\n------------------\n\n- Doug Szumski (\u003cdoug@stackhpc.com\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fansible-role-gluster-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackhpc%2Fansible-role-gluster-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fansible-role-gluster-cluster/lists"}