We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etcd查询状态信息: ansible 返回是存在 ETCD_CLUSTER_STATUS.stderr
导致 - name: get a running ectd node shell: 'echo -e "{{ ETCD_CLUSTER_STATUS.stdout }}"|grep "is healthy"|sed -n "1p"|cut -d: -f2|cut -d/ -f3' register: RUNNING_NODE
无法取到 {{ RUNNING_NODE }}
我修改为 shell: 'echo -e "{{ ETCD_CLUSTER_STATUS.stderr}}"|grep "is healthy"|sed -n "1p"|cut -d: -f2|cut -d/ -f3' 运行正常
The text was updated successfully, but these errors were encountered:
fix: ectd集群有不正常节点时增加etcd节点失败 #743
d28628d
感谢反馈🙏 不过这里不要简单的改成 stderr,而是要两种情况都考虑,毕竟正常情况是在 stdout里面的; 详见d28628d87fab6af89c651e38abb1b9989eb27855
Sorry, something went wrong.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
No branches or pull requests
etcd查询状态信息: ansible 返回是存在 ETCD_CLUSTER_STATUS.stderr
导致
- name: get a running ectd node
shell: 'echo -e "{{ ETCD_CLUSTER_STATUS.stdout }}"|grep "is healthy"|sed -n "1p"|cut -d: -f2|cut -d/ -f3'
register: RUNNING_NODE
无法取到 {{ RUNNING_NODE }}
我修改为
shell: 'echo -e "{{ ETCD_CLUSTER_STATUS.stderr}}"|grep "is healthy"|sed -n "1p"|cut -d: -f2|cut -d/ -f3'
运行正常
The text was updated successfully, but these errors were encountered: