diff options
author | Eric Tang <qcorba@gmail.com> | 2020-04-19 09:48:24 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2020-07-01 00:15:09 +0000 |
commit | fcce658787a325d7457ef4c01e40b8629c47e20a (patch) | |
tree | 45722dec26e077c53f447208f14676236fb85e63 | |
parent | b3ad24f7f998bb8d907580ee8920546e0c267500 (diff) |
Install criproxy binary in /usr/local/bin instead of /tmp.5.0.2-ONAPelalto
Issue-ID: MULTICLOUD-1051
Signed-off-by: Eric Tang <qcorba@gmail.com>
Change-Id: I96443ee539de0e2a18011148f86f97e70634cae3
Signed-off-by: Eric Tang <qcorba@gmail.com>
(cherry picked from commit 86c469873be784ddee0cc2797113c98bd80dc290)
-rw-r--r-- | kud/deployment_infra/playbooks/configure-virtlet.yml | 2 | ||||
-rw-r--r-- | kud/deployment_infra/playbooks/kud-vars.yml | 3 |
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 18d3740a..9874eb8f 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 a9910f8d..afbdc44e 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" |