add playbook

This commit is contained in:
Benedikt Penner
2026-03-14 20:43:35 +01:00
parent 6d479e5934
commit 6820ba29c3
7 changed files with 76 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
---
- hosts: glusterfs
gather_facts: true
become: false
tasks:
- name: "Install GlusterFS on all nodes"
ansible.builtin.package:
name: glusterfs-server
state: present
become: true
- name: "Start and enable GlusterFS service"
ansible.builtin.service:
name: glusterd
state: started
enabled: true
become: true