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

This commit is contained in:
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

View file

@ -32,7 +32,7 @@
- { role: reset, tags: reset, when: reset_nodes|default(True) } - { role: reset, tags: reset, when: reset_nodes|default(True) }
# Currently cannot remove first master or etcd # 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 gather_facts: no
roles: roles:
- { role: kubespray-defaults } - { role: kubespray-defaults }