25 lines
414 B
YAML
25 lines
414 B
YAML
---
|
|
- 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 }
|
|
|
|
- hosts: k8s-cluster
|
|
roles:
|
|
- { role: glusterfs/client }
|
|
|
|
- hosts: kube-master[0]
|
|
roles:
|
|
- { role: kubernetes-pv }
|
|
|