Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gluster.install role #83

Open
eoli3n opened this issue Dec 3, 2019 · 0 comments
Open

Add gluster.install role #83

eoli3n opened this issue Dec 3, 2019 · 0 comments

Comments

@eoli3n
Copy link

eoli3n commented Dec 3, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant