summaryrefslogtreecommitdiffstats
path: root/src/arm/cni-deploy/roles/flannel/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/cni-deploy/roles/flannel/tasks/main.yml')
-rw-r--r--src/arm/cni-deploy/roles/flannel/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/arm/cni-deploy/roles/flannel/tasks/main.yml b/src/arm/cni-deploy/roles/flannel/tasks/main.yml
new file mode 100644
index 0000000..4f1a910
--- /dev/null
+++ b/src/arm/cni-deploy/roles/flannel/tasks/main.yml
@@ -0,0 +1,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