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
ce37d01e5e
commit
9aaa8376f1
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue