[cni-plugins] upgrade to stable 1.0.1 (#8331)

* [cni-plugins] upgrade to stable 1.0.1

* [flannel] use binary from dedicated project
This commit is contained in:
Cristian Calin
2021-12-24 09:16:15 +02:00
committed by GitHub
parent 2b5c185826
commit ed3932b7d5
2 changed files with 47 additions and 6 deletions

View File

@@ -1,4 +1,16 @@
---
- name: runc | Download flannel binary
include_tasks: "../../../download/tasks/download_file.yml"
vars:
download: "{{ download_defaults | combine(downloads.flannel_cni) }}"
- name: Copy flannel binary from download dir
copy:
src: "{{ downloads.flannel_cni.dest }}"
dest: "/opt/cni/bin/flannel"
mode: 0755
remote_src: true
- name: Flannel | Create Flannel manifests
template:
src: "{{ item.file }}.j2"