Etcd proxy added to caas-etcd
[ta/caas-etcd.git] / ansible / roles / etcd / tasks / main.yml
index 4bc8960..3c0636f 100644 (file)
@@ -50,7 +50,7 @@
   when: ( nodename | search("caas_master1") ) and ( groups['caas_master']|length|int > 1 )
 
 - name: etcd docker id
-  shell: "docker ps | grep etcd | grep -v pause | awk -F' ' '{ print $1 }'"
+  shell: "docker ps --no-trunc | grep etcd | grep -v pause | grep -v grpc-proxy | awk -F' ' '{ print $1 }'"
   environment:
     DOCKER_HOST: "tcp://{{ networking.infra_internal.ip }}:2375"
     DOCKER_TLS_VERIFY: "1"