Fix first etcd member exclusion in host group pattern (#6109)
parent
c605a05c6b
commit
dca3bf0e80
|
@ -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 }
|
||||||
|
|
Loading…
Reference in New Issue