From b9f16e2669ff5a0cde006951ffec5dff84ac29df Mon Sep 17 00:00:00 2001 From: leonwang Date: Fri, 23 Feb 2018 15:01:06 +0000 Subject: Update opensds ansible This patch is designed for solving some problems below: - Sync the latest code with opensds community - Enable containerized deployment in ansible script - Fix some bugs in port conflicts of etcd deployment Change-Id: Id48906b91c08b3a98e6fc3d8d424a1cd2b11f2be Signed-off-by: leonwang --- ci/ansible/roles/common/tasks/main.yml | 256 ++++++++++++++++----------------- 1 file changed, 121 insertions(+), 135 deletions(-) mode change 100644 => 100755 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 100644 new mode 100755 index 7c9a49a..d6bef82 --- a/ci/ansible/roles/common/tasks/main.yml +++ b/ci/ansible/roles/common/tasks/main.yml @@ -1,135 +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 <> /etc/profile < opensds.conf <