aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra
diff options
context:
space:
mode:
authorRitu Sood <Ritu.Sood@intel.com>2020-04-27 19:45:25 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-27 19:45:25 +0000
commitb8b6eaeea2fdbb6b3c2a4d079603b9f09bda995d (patch)
tree110afec07ca7b53c68ed57cb603fd02e32779b73 /kud/deployment_infra
parent8d2d1c91442bf52b35a23ae0f49badb58a0b56cd (diff)
parent86c469873be784ddee0cc2797113c98bd80dc290 (diff)
Merge "Install criproxy binary in /usr/local/bin instead of /tmp. Issue-ID: MULTICLOUD-1051"
Diffstat (limited to 'kud/deployment_infra')
-rw-r--r--kud/deployment_infra/playbooks/configure-virtlet.yml2
-rw-r--r--kud/deployment_infra/playbooks/kud-vars.yml3
2 files changed, 4 insertions, 1 deletions
diff --git a/kud/deployment_infra/playbooks/configure-virtlet.yml b/kud/deployment_infra/playbooks/configure-virtlet.yml
index c400cab0..d2461f73 100644
--- a/kud/deployment_infra/playbooks/configure-virtlet.yml
+++ b/kud/deployment_infra/playbooks/configure-virtlet.yml
@@ -207,11 +207,13 @@
chdir: "{{ criproxy_dest }}"
when: criproxy_source_type == "source"
- name: download CRIproxy package
+ become: yes
get_url:
url: "{{ criproxy_url }}"
dest: "{{ criproxy_dest }}/criproxy"
when: criproxy_source_type == "binary"
- name: set criproxy execution permissions
+ become: yes
file:
path: "{{ criproxy_dest }}/criproxy"
mode: "+x"
diff --git a/kud/deployment_infra/playbooks/kud-vars.yml b/kud/deployment_infra/playbooks/kud-vars.yml
index a592a909..0fdfafeb 100644
--- a/kud/deployment_infra/playbooks/kud-vars.yml
+++ b/kud/deployment_infra/playbooks/kud-vars.yml
@@ -18,10 +18,11 @@ ovn_kubernetes_url: "https://github.com/openvswitch/ovn-kubernetes/archive/v{{ o
#ovn_kubernetes_version: 456a0857956988f968bb08644c650ba826592ec1
#ovn_kubernetes_url: "https://github.com/openvswitch/ovn-kubernetes"
-criproxy_dest: "{{ base_dest }}/criproxy"
+criproxy_dest: "/usr/local/bin"
criproxy_source_type: "binary"
criproxy_version: 0.14.0
criproxy_url: "https://github.com/Mirantis/criproxy/releases/download/v{{ criproxy_version }}/criproxy"
+#criproxy_dest: "{{ base_dest }}/criproxy"
#criproxy_source_type: "source"
#criproxy_version: b5ca5a6cec278e2054dface4f7a3e111fb9ab84b
#criproxy_url: "https://github.com/Mirantis/criproxy"