Merge "manage local patches"
authorHui Wang <wanghui71@huawei.com>
Fri, 25 May 2018 09:09:30 +0000 (09:09 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 25 May 2018 09:09:30 +0000 (09:09 +0000)
ci/ansible/roles/osdsdb/scenarios/etcd.yml

index 9c3352b..62abfdb 100644 (file)
   register: service_etcd_status\r
 \r
 - name: run etcd daemon service\r
-  shell: nohup ./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 }} &>>etcd.log &\r
+  shell: nohup ./etcd --advertise-client-urls http://{{ etcd_host }}:{{ etcd_port }} --listen-client-urls http://{{ etcd_host }}:{{ etcd_port }} -listen-peer-urls http://{{ etcd_host }}:{{ etcd_peer_port }} &>>etcd.log &\r
   become: true\r
   args:\r
     chdir: "{{ etcd_dir }}"\r
   when: service_etcd_status.rc != 0\r
 \r
 - name: check etcd cluster health\r
-  shell: ./etcdctl cluster-health\r
+  shell: ./etcdctl --endpoints http://{{ etcd_host }}:{{ etcd_port }} cluster-health\r
   become: true\r
   ignore_errors: true\r
   args:\r