|
|
@ -101,8 +101,8 @@ |
|
|
|
environment: |
|
|
|
NO_DEFAULT_POOLS: true |
|
|
|
run_once: true |
|
|
|
when: (not legacy_calicoctl and |
|
|
|
"Key not found" in calico_conf.stdout or "nodes" not in calico_conf.stdout) |
|
|
|
when: not legacy_calicoctl and |
|
|
|
("Key not found" in calico_conf.stdout or "nodes" not in calico_conf.stdout) |
|
|
|
|
|
|
|
- name: Calico (old) | Define ipip pool argument |
|
|
|
run_once: true |
|
|
@ -129,8 +129,8 @@ |
|
|
|
environment: |
|
|
|
NO_DEFAULT_POOLS: true |
|
|
|
run_once: true |
|
|
|
when: (legacy_calicoctl and |
|
|
|
"Key not found" in calico_conf.stdout or "nodes" not in calico_conf.stdout) |
|
|
|
when: legacy_calicoctl and |
|
|
|
("Key not found" in calico_conf.stdout or "nodes" not in calico_conf.stdout) |
|
|
|
|
|
|
|
- name: Calico | Get calico configuration from etcd |
|
|
|
command: |- |
|
|
|