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:
parent
15acc934e0
commit
d3befb983a
2 changed files with 4 additions and 0 deletions
|
@ -3,3 +3,6 @@
|
||||||
service:
|
service:
|
||||||
name: glusterd
|
name: glusterd
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
- name: restart glusterfs volume
|
||||||
|
shell: "echo y | gluster volume stop gv0 && gluster volume start gv0"
|
||||||
|
|
|
@ -71,3 +71,4 @@
|
||||||
ssl.certificate-depth: "1",
|
ssl.certificate-depth: "1",
|
||||||
}
|
}
|
||||||
run_once: true
|
run_once: true
|
||||||
|
notify: restart glusterfs volume
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue