glusterfs: Restart glusterfs volume after changes

For some reason when adding client.ssl option glusterfs goes into foobar state.
Only restarting volume seems to help
This commit is contained in:
Timo Makinen 2021-09-10 15:51:56 +00:00
parent 15acc934e0
commit d3befb983a
2 changed files with 4 additions and 0 deletions

View file

@ -3,3 +3,6 @@
service:
name: glusterd
state: restarted
- name: restart glusterfs volume
shell: "echo y | gluster volume stop gv0 && gluster volume start gv0"

View file

@ -71,3 +71,4 @@
ssl.certificate-depth: "1",
}
run_once: true
notify: restart glusterfs volume