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/osdsdb/scenarios/container.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ci/ansible/roles/osdsdb/scenarios/container.yml (limited to 'ci/ansible/roles/osdsdb/scenarios/container.yml') diff --git a/ci/ansible/roles/osdsdb/scenarios/container.yml b/ci/ansible/roles/osdsdb/scenarios/container.yml new file mode 100644 index 0000000..8a75ef2 --- /dev/null +++ b/ci/ansible/roles/osdsdb/scenarios/container.yml @@ -0,0 +1,10 @@ +--- +- name: run etcd containerized service + docker: + name: myetcd + image: quay.io/coreos/etcd:latest + command: /usr/local/bin/etcd --advertise-client-urls http://{{ etcd_host }}:{{ etcd_port }} --listen-client-urls http://{{ etcd_host }}:{{ etcd_port }} -advertise-client-urls http://{{ etcd_host }}:{{ etcd_peer_port }} -listen-peer-urls http://{{ etcd_host }}:{{ etcd_peer_port }} + state: started + net: host + volumes: + - "/usr/share/ca-certificates/:/etc/ssl/certs" -- cgit 1.2.3-korg