summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/playbooks/configure-virtlet.yml
diff options
context:
space:
mode:
authorEric Tang <qcorba@gmail.com>2020-04-19 09:48:24 +0800
committerEric Tang <qcorba@gmail.com>2020-04-19 17:36:32 +0800
commit86c469873be784ddee0cc2797113c98bd80dc290 (patch)
treec66518fe6e133124ce3bbad1d6c488289762d299 /kud/deployment_infra/playbooks/configure-virtlet.yml
parente49d4f0f4b4252b2e3acc713e8dba7084e285273 (diff)
Install criproxy binary in /usr/local/bin instead of /tmp.
Issue-ID: MULTICLOUD-1051 Signed-off-by: Eric Tang <qcorba@gmail.com> Change-Id: I96443ee539de0e2a18011148f86f97e70634cae3 Signed-off-by: Eric Tang <qcorba@gmail.com>
Diffstat (limited to 'kud/deployment_infra/playbooks/configure-virtlet.yml')
-rw-r--r--kud/deployment_infra/playbooks/configure-virtlet.yml2
1 files changed, 2 insertions, 0 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"