From 44d89322d78dfb1e98eb10b4032cd47bb71f3845 Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Tue, 27 Dec 2016 16:00:02 +0100 Subject: [PATCH] Rework wildcards matching all nodes * Re-enable ansible_ssh_pipelining as expected for the cluster.yml * Do not use 'all' wildcasts for hosts, limit only to k8s-cluster, etcd, calico-rr groups instead. Other nodes in inventory are out of Kargo scope and it's up to users how to manage them. Signed-off-by: Bogdan Dobrelya --- cluster.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cluster.yml b/cluster.yml index 7c6f0105a..e10c0d2c9 100644 --- a/cluster.yml +++ b/cluster.yml @@ -5,7 +5,7 @@ - bastion-ssh-config tags: [localhost, bastion] -- hosts: all +- hosts: k8s-cluster:etcd:calico-rr any_errors_fatal: true gather_facts: false vars: @@ -17,12 +17,13 @@ tags: - bootstrap-os - -- hosts: all +- hosts: k8s-cluster:etcd:calico-rr any_errors_fatal: true + vars: + ansible_ssh_pipelining: true gather_facts: true -- hosts: all:!network-storage:!bastion +- hosts: k8s-cluster:etcd:calico-rr any_errors_fatal: true roles: - { role: kubernetes/preinstall, tags: preinstall }