Fix first etcd member exclusion in host group pattern (#6109)
This commit is contained in:
parent
c605a05c6b
commit
dca3bf0e80
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue