标签:lin data ast line emctl ansible number gre class
| - name: 以轮询的方式等待服务同步完成 | |
| shell: "systemctl status etcd.service|grep Active" | |
| register: etcd_status | |
| until: ‘"running" in etcd_status.stdout‘ | |
| retries: 8 | |
| delay: 8 | |
| tags: upgrade_etcd |
ansible until: '"running" in etcd_status.stdout'
标签:lin data ast line emctl ansible number gre class
原文地址:https://www.cnblogs.com/cheyunhua/p/14228383.html