diff options
Diffstat (limited to 'ci/ansible/roles/osdsdb/scenarios/container.yml')
-rw-r--r-- | ci/ansible/roles/osdsdb/scenarios/container.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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" |