2019-04-19 14:59:54 +08:00
|
|
|
---
|
2019-04-10 19:16:15 +08:00
|
|
|
- name: CNI | make sure /opt/cni/bin exists
|
|
|
|
file:
|
|
|
|
path: /opt/cni/bin
|
|
|
|
state: directory
|
2024-07-26 09:42:20 +08:00
|
|
|
mode: "0755"
|
2024-02-19 18:58:11 +08:00
|
|
|
owner: "{{ cni_bin_owner }}"
|
2020-04-17 01:06:45 +08:00
|
|
|
recurse: true
|
|
|
|
|
2019-04-10 19:16:15 +08:00
|
|
|
- name: CNI | Copy cni plugins
|
|
|
|
unarchive:
|
2023-06-12 15:39:48 +08:00
|
|
|
src: "{{ downloads.cni.dest }}"
|
2019-04-10 19:16:15 +08:00
|
|
|
dest: "/opt/cni/bin"
|
2024-07-26 09:42:20 +08:00
|
|
|
mode: "0755"
|
2024-02-19 18:58:11 +08:00
|
|
|
owner: "{{ cni_bin_owner }}"
|
2019-04-10 19:16:15 +08:00
|
|
|
remote_src: yes
|