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 c6f2102073
commit d591b59205

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: