2016-11-11 11:59:46 +08:00
|
|
|
---
|
2017-10-16 15:23:38 +08:00
|
|
|
- hosts: gfs-cluster
|
|
|
|
gather_facts: false
|
|
|
|
vars:
|
|
|
|
ansible_ssh_pipelining: false
|
|
|
|
roles:
|
2019-04-01 17:38:33 +08:00
|
|
|
- { role: bootstrap-os, tags: bootstrap-os}
|
2017-10-16 15:23:38 +08:00
|
|
|
|
2016-11-11 11:59:46 +08:00
|
|
|
- hosts: all
|
|
|
|
gather_facts: true
|
|
|
|
|
|
|
|
- hosts: gfs-cluster
|
2017-10-16 15:23:38 +08:00
|
|
|
vars:
|
|
|
|
ansible_ssh_pipelining: true
|
2016-11-11 11:59:46 +08:00
|
|
|
roles:
|
|
|
|
- { role: glusterfs/server }
|
|
|
|
|
|
|
|
- hosts: k8s-cluster
|
|
|
|
roles:
|
|
|
|
- { role: glusterfs/client }
|
|
|
|
|
|
|
|
- hosts: kube-master[0]
|
|
|
|
roles:
|
|
|
|
- { role: kubernetes-pv }
|