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:
Matthew Mosesohn 2016-08-11 23:14:11 +04:00
parent ce37d01e5e
commit 9aaa8376f1

View file

@ -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: