From d591b59205388296d30050b742735d36b17ac2fe Mon Sep 17 00:00:00 2001
From: Matthew Mosesohn <mmosesohn@mirantis.com>
Date: Thu, 11 Aug 2016 23:14:11 +0400
Subject: [PATCH] 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.
---
 cluster.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cluster.yml b/cluster.yml
index 862267098..aa79ff5a5 100644
--- a/cluster.yml
+++ b/cluster.yml
@@ -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:
-- 
GitLab