Skip to content

Add gluster.install role #83

Open
Open
@eoli3n

Description

something like

# for debian buster
---
- name: Add glusterfs key
  apt_key:
    url: https://download.gluster.org/pub/gluster/glusterfs/7/rsa.pub
    state: present

- name: Add glusterfs repo
  apt_repository:
    repo: 'deb [arch=amd64] https://download.gluster.org/pub/gluster/glusterfs/7/LATEST/Debian/buster/amd64/apt buster main'
    state: present

- name: Install deps
  apt:
    name:
      - lvm2
      - xfsprogs
    state: present

- name: Install gluster server
  apt:
    name: glusterfs-server

- name: Start and enable service
  service:
    name: glusterd
    state: restarted

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions