From 73cd24bf5af15ad55cc7d232fa0efede8f7a5000 Mon Sep 17 00:00:00 2001 From: Chen Hong Date: Mon, 19 Mar 2018 14:35:45 +0800 Subject: [PATCH] gather facts from all instances, maybe include calico-rr --- cluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster.yml b/cluster.yml index 6dcb8b659..fb7dec4cb 100644 --- a/cluster.yml +++ b/cluster.yml @@ -26,7 +26,7 @@ setup: delegate_to: "{{item}}" delegate_facts: True - with_items: "{{ groups['k8s-cluster'] + groups['etcd'] + groups['calico-rr'] }}" + with_items: "{{ groups['k8s-cluster'] + groups['etcd'] + groups['calico-rr']|default([]) }}" - hosts: k8s-cluster:etcd:calico-rr any_errors_fatal: "{{ any_errors_fatal | default(true) }}"