20 lines
610 B
YAML
20 lines
610 B
YAML
- name: get calico conf
|
|
template:
|
|
src: calico.yaml.j2
|
|
dest: $HOME/calico.yaml
|
|
|
|
- name: apply calico conf1
|
|
shell: kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/tigera-operator.yaml
|
|
register: apply1
|
|
- debug: var=apply1.stdout_lines
|
|
|
|
- name: apply calico conf2
|
|
shell: kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.1/manifests/custom-resources.yaml
|
|
register: apply2
|
|
- debug: var=apply2.stdout_lines
|
|
|
|
- name: apply calico conf3
|
|
shell: kubectl apply -f calico.yaml
|
|
register: apply3
|
|
- debug: var=apply3.stdout_lines
|