mount gitea and vmshares gluster volumes on kube host
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user