summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/playbooks/configure-multus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'kud/deployment_infra/playbooks/configure-multus.yml')
-rw-r--r--kud/deployment_infra/playbooks/configure-multus.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/kud/deployment_infra/playbooks/configure-multus.yml b/kud/deployment_infra/playbooks/configure-multus.yml
index 1f6d6ce9..91da8746 100644
--- a/kud/deployment_infra/playbooks/configure-multus.yml
+++ b/kud/deployment_infra/playbooks/configure-multus.yml
@@ -54,7 +54,12 @@
dest: "{{ multus_dest }}"
remote_src: yes
- name: copy multus binary to opt folder
- command: "mv {{ multus_dest }}/multus-cni_v{{ multus_version }}_linux_amd64/multus-cni /opt/cni/bin/multus"
+ command: "mv {{ multus_dest }}/multus-cni_{{ multus_version }}_linux_amd64/multus-cni /opt/cni/bin/multus"
+ - file:
+ path: /opt/cni/bin/multus
+ owner: root
+ group: root
+ mode: 0755
when: multus_source_type == "tarball"
- name: create multus configuration file
blockinfile: