mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-10 15:32:09 -03:30
* project: fix outdated tag and experimental Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: remove no longer useful noqa 301 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: replace unnamed-task by name[missing] Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix daemon-reload -> daemon_reload Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
17 lines
468 B
YAML
17 lines
468 B
YAML
---
|
|
- name: Calico-rr | Pre-upgrade tasks
|
|
include_tasks: pre.yml
|
|
|
|
- name: Calico-rr | Configuring node tasks
|
|
include_tasks: update-node.yml
|
|
|
|
- name: Calico-rr | Set label for route reflector
|
|
command: >-
|
|
{{ bin_dir }}/calicoctl.sh label node {{ inventory_hostname }}
|
|
'i-am-a-route-reflector=true' --overwrite
|
|
changed_when: false
|
|
register: calico_rr_label
|
|
until: calico_rr_label is succeeded
|
|
delay: "{{ retry_stagger | random + 3 }}"
|
|
retries: 10
|