|
@ -11,6 +11,8 @@ |
|
|
- "{{ calico_node_manifests.results }}" |
|
|
- "{{ calico_node_manifests.results }}" |
|
|
when: |
|
|
when: |
|
|
- inventory_hostname == groups['kube-master'][0] and not item is skipped |
|
|
- inventory_hostname == groups['kube-master'][0] and not item is skipped |
|
|
|
|
|
loop_control: |
|
|
|
|
|
label: "{{ item.item.file }}" |
|
|
|
|
|
|
|
|
- name: "calico upgrade complete" |
|
|
- name: "calico upgrade complete" |
|
|
shell: "{{ bin_dir }}/calico-upgrade complete --no-prompts --apiconfigv1 /etc/calico/etcdv2.yml --apiconfigv3 /etc/calico/etcdv3.yml" |
|
|
shell: "{{ bin_dir }}/calico-upgrade complete --no-prompts --apiconfigv1 /etc/calico/etcdv2.yml --apiconfigv3 /etc/calico/etcdv3.yml" |
|
|