diff options
author | leonwang <wanghui71@huawei.com> | 2018-08-07 14:49:27 +0800 |
---|---|---|
committer | leonwang <wanghui71@huawei.com> | 2018-08-07 14:57:29 +0800 |
commit | 91a84330494b100ac9077652c910fb248f737717 (patch) | |
tree | 2c86151a5276e9e4ea9b2ea16e24adfd9f34fb5f /ci/ansible/roles/common/scenarios | |
parent | 078bb837513f3b83fdd07f2e10f9abeb0bd485db (diff) |
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 <wanghui71@huawei.com>
Diffstat (limited to 'ci/ansible/roles/common/scenarios')
-rw-r--r-- | ci/ansible/roles/common/scenarios/release.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/ansible/roles/common/scenarios/release.yml b/ci/ansible/roles/common/scenarios/release.yml index 500d82e..83df8bd 100644 --- a/ci/ansible/roles/common/scenarios/release.yml +++ b/ci/ansible/roles/common/scenarios/release.yml @@ -21,8 +21,9 @@ - name: download and extract the opensds release tarball if not exists unarchive: - src={{ opensds_download_url }} - dest=/tmp/ + src: "{{ opensds_download_url }}" + dest: /tmp/ + remote_src: yes when: - opensdsreleasesexisted.stat.exists is undefined or opensdsreleasesexisted.stat.exists == false @@ -36,3 +37,4 @@ copy: src: "{{ opensds_tarball_dir }}/" dest: "{{ opensds_work_dir }}" + mode: 0755 |