- name: 以轮询的方式等待服务同步完成 | |
shell: "systemctl status etcd.service|grep Active" | |
register: etcd_status | |
until: '"running" in etcd_status.stdout' | |
retries: 8 | |
delay: 8 | |
tags: upgrade_etcd |
- name: 以轮询的方式等待服务同步完成 | |
shell: "systemctl status etcd.service|grep Active" | |
register: etcd_status | |
until: '"running" in etcd_status.stdout' | |
retries: 8 | |
delay: 8 | |
tags: upgrade_etcd |