Browse Source

[contrib/network-storage/glusterfs] bootstrap for glusterfs nodes (#1799)

pull/1807/head
Pablo Moreno 7 years ago
committed by Matthew Mosesohn
parent
commit
404caa111a
3 changed files with 11 additions and 1 deletions
  1. 10
      contrib/network-storage/glusterfs/glusterfs.yml
  2. 1
      contrib/network-storage/glusterfs/group_vars
  3. 1
      contrib/network-storage/glusterfs/roles/bootstrap-os

10
contrib/network-storage/glusterfs/glusterfs.yml

@ -1,8 +1,17 @@
---
- hosts: gfs-cluster
gather_facts: false
vars:
ansible_ssh_pipelining: false
roles:
- { role: bootstrap-os, tags: bootstrap-os}
- hosts: all
gather_facts: true
- hosts: gfs-cluster
vars:
ansible_ssh_pipelining: true
roles:
- { role: glusterfs/server }
@ -12,6 +21,5 @@
- hosts: kube-master[0]
roles:
- { role: kubernetes-pv/lib }
- { role: kubernetes-pv }

1
contrib/network-storage/glusterfs/group_vars

@ -0,0 +1 @@
../../../inventory/group_vars

1
contrib/network-storage/glusterfs/roles/bootstrap-os

@ -0,0 +1 @@
../../../../roles/bootstrap-os
Loading…
Cancel
Save