X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fansible%2Froles%2Fosdsdb%2Fscenarios%2Fcontainer.yml;h=a5c71d9ff50a650ed5f813392514837e2c8643e0;hb=d5a74591c6716aad140b91153ec72bc61426480c;hp=8a75ef2940696323a7fbb6c5ca3a8da5a34b8b6c;hpb=b9f16e2669ff5a0cde006951ffec5dff84ac29df;p=stor4nfv.git diff --git a/ci/ansible/roles/osdsdb/scenarios/container.yml b/ci/ansible/roles/osdsdb/scenarios/container.yml index 8a75ef2..a5c71d9 100644 --- a/ci/ansible/roles/osdsdb/scenarios/container.yml +++ b/ci/ansible/roles/osdsdb/scenarios/container.yml @@ -1,10 +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" +--- +- name: run etcd containerized service + docker: + name: myetcd + image: {{ etcd_docker_image }} + 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"