summaryrefslogtreecommitdiffstats
path: root/src/arm/cni-deploy/roles/flannel/tasks/main.yml
blob: 4f1a9100d185c4704e3eb6f253d502a4d6b21131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: Copy flannel daemonset file
  copy:
    src: cni-flannel-ds.yml
    dest: /tmp/cni-flannel-ds.yml

- name: Apply flannel daemonset
  shell: kubectl apply -f /tmp/cni-flannel-ds.yml
  ignore_errors: "yes"

- name: Sleep 10 seconds
  wait_for: timeout=10