From 674d432773550e6dd48e0865bdc68c0f6be2057e Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Wed, 10 Nov 2021 23:49:25 -0500 Subject: [PATCH] Add service management for glusterd --- roles/datastore/tasks/gluster.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/datastore/tasks/gluster.yaml b/roles/datastore/tasks/gluster.yaml index 4160510..2c34f93 100644 --- a/roles/datastore/tasks/gluster.yaml +++ b/roles/datastore/tasks/gluster.yaml @@ -14,6 +14,13 @@ path: /mnt/brick/datastore state: directory +- name: Start and disable glusterd + become: true + ansible.builtin.systemd: + name: glusterd + state: started + enabled: false + - name: Fetch peer status become: true ansible.builtin.command: