From dca3bf0e803c558aa7e37bb2c7717a744cb5d776 Mon Sep 17 00:00:00 2001 From: Florent Monbillard Date: Fri, 8 May 2020 18:31:51 -0400 Subject: [PATCH] Fix first etcd member exclusion in host group pattern (#6109) --- remove-node.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remove-node.yml b/remove-node.yml index ee6956dcc..c672df547 100644 --- a/remove-node.yml +++ b/remove-node.yml @@ -32,7 +32,7 @@ - { role: reset, tags: reset, when: reset_nodes|default(True) } # Currently cannot remove first master or etcd -- hosts: "{{ node | default('kube-master[1:]:etcd[:1]') }}" +- hosts: "{{ node | default('kube-master[1:]:etcd[1:]') }}" gather_facts: no roles: - { role: kubespray-defaults }