X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fansible%2Froles%2Fosdsdb%2Fscenarios%2Fcontainer.yml;fp=ci%2Fansible%2Froles%2Fosdsdb%2Fscenarios%2Fcontainer.yml;h=8a75ef2940696323a7fbb6c5ca3a8da5a34b8b6c;hb=b9f16e2669ff5a0cde006951ffec5dff84ac29df;hp=0000000000000000000000000000000000000000;hpb=561c0708b78eed8120b90f0221cd66730c9e8a74;p=stor4nfv.git 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"