Fix first etcd member exclusion in host group pattern (#6109)

pull/6114/head
Florent Monbillard 2020-05-08 18:31:51 -04:00 committed by GitHub
parent c605a05c6b
commit dca3bf0e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 }