From 9aaa8376f1b276cd14adf62d2a2eedea2e0114e4 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn 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: