mount gitea and vmshares gluster volumes on kube host

This commit is contained in:
2022-01-01 10:11:38 -05:00
parent 261c650214
commit 616b6bae5c
3 changed files with 16 additions and 8 deletions

View File

@@ -5,6 +5,10 @@
path: "{{mounts.paths[item.name]}}/{{volumes.brick_folder}}/.glusterfs"
register: gluster_volume_config
- name: "Old gluster volume {{item.name}} needs to be removed"
debug:
var: gluster_volume_config.stat.exists
- name: remove old gluster volumes
block:
- name: remove volume