8 lines
323 B
YAML
8 lines
323 B
YAML
---
|
|
- name: "calico upgrade complete"
|
|
command: "{{ 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)
|