mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-19 21:51:30 -03:30
Fix etcd play to only run on non-k8s-cluster nodes
This decreases the time required to deploy a cluster with 3 nodes, but none are standalone etcd roles.
This commit is contained in:
parent
c6f2102073
commit
d591b59205
@ -2,11 +2,11 @@
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
|
||||
- hosts: etcd
|
||||
- hosts: etcd:!k8s-cluster
|
||||
roles:
|
||||
- { role: kubernetes/preinstall, tags: preinstall }
|
||||
- { role: etcd, tags: etcd }
|
||||
- { role: docker, tags: docker }
|
||||
- { role: etcd, tags: etcd }
|
||||
|
||||
- hosts: k8s-cluster
|
||||
roles:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user