aboutsummaryrefslogtreecommitdiffstats
path: root/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-calico.yaml
blob: afee929a8b35c8448be919aa920f340945e77737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---

- name: Clean Calico
  import_tasks: clear-calico.yaml

- name: Deploy Calico
  k8s:
    state: present
    apply: yes
    definition: '{{ item }}'
  with_items: '{{ lookup("url", "https://docs.projectcalico.org/manifests/calico.yaml", split_lines=False) | from_yaml_all | list }}'
  when: item is not none