From 91a84330494b100ac9077652c910fb248f737717 Mon Sep 17 00:00:00 2001 From: leonwang Date: Tue, 7 Aug 2018 14:49:27 +0800 Subject: Update the latest version of ansible script This patch is proposed for merging the latest version of ansible code according to opensds-installer project. From the latest version code, we change the default installation way from source code to release, which means there is no need for golang environment prepare and long-time building work. Change-Id: I93d7d24f29e61979bc8fda7125ae753063eda423 Signed-off-by: leonwang --- ci/ansible/roles/nbp-installer/scenarios/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ci/ansible/roles/nbp-installer/scenarios/release.yml') diff --git a/ci/ansible/roles/nbp-installer/scenarios/release.yml b/ci/ansible/roles/nbp-installer/scenarios/release.yml index 89429d7..b528724 100644 --- a/ci/ansible/roles/nbp-installer/scenarios/release.yml +++ b/ci/ansible/roles/nbp-installer/scenarios/release.yml @@ -21,14 +21,15 @@ - name: download and extract the nbp release tarball if not exists unarchive: - src={{ nbp_download_url }} - dest=/tmp/ + src: "{{ nbp_download_url }}" + dest: /tmp/ + remote_src: yes when: - nbpreleasesexisted.stat.exists is undefined or nbpreleasesexisted.stat.exists == false - name: change the mode of all binary files in nbp release file: - path: "{{ nbp_tarball_dir }}/flexvolume" + path: "{{ nbp_tarball_dir }}/bin" mode: 0755 recurse: yes @@ -36,3 +37,4 @@ copy: src: "{{ nbp_tarball_dir }}/" dest: "{{ nbp_work_dir }}" + mode: 0755 -- cgit 1.2.3-korg