From 6bc7e08cc5d80941c80e8d36d3a2b1373f147a05 Mon Sep 17 00:00:00 2001 From: leonwang Date: Thu, 15 Mar 2018 08:25:05 +0000 Subject: Merge nbp installation into opensds ansible script In this update, the nbp-ansible is removed from stor4nfv repo and all code has been merged into ansible repo. Besides, the latest update reduce a lot of work to download and build opensds source code. And some installation docs are also updated. Remove license statement for the moment. Change-Id: Ib8504d96e2d41e1c3ab7e0c94689111679d56abd Signed-off-by: leonwang --- ci/ansible/roles/common/tasks/main.yml | 242 ++++++++++++++++----------------- 1 file changed, 121 insertions(+), 121 deletions(-) mode change 100755 => 100644 ci/ansible/roles/common/tasks/main.yml (limited to 'ci/ansible/roles/common') diff --git a/ci/ansible/roles/common/tasks/main.yml b/ci/ansible/roles/common/tasks/main.yml old mode 100755 new mode 100644 index d6bef82..7ae2234 --- a/ci/ansible/roles/common/tasks/main.yml +++ b/ci/ansible/roles/common/tasks/main.yml @@ -1,121 +1,121 @@ ---- -# If we can't get golang installed before any module is used we will fail -# so just try what we can to get it installed -- name: check for golang - stat: - path: /usr/local/go - ignore_errors: yes - register: systemgolang - -- name: install golang for debian based systems - shell: - cmd: | - set -e - set -x - - wget {{ golang_download_url }} -P /opt/ - tar xvf /opt/{{ golang_tarball }} -C /usr/local/ - cat >> /etc/profile < opensds.conf < opensds.conf <