7 lines
333 B
YAML
7 lines
333 B
YAML
---
|
|
- name: "calico upgrade complete" # noqa 305
|
|
shell: "{{ bin_dir }}/calico-upgrade complete --no-prompts --apiconfigv1 /etc/calico/etcdv2.yml --apiconfigv3 /etc/calico/etcdv3.yml"
|
|
when:
|
|
- inventory_hostname == groups['kube-master'][0]
|
|
- calico_upgrade_enabled|default(True)
|
|
- calico_upgrade_needed|default(False)
|