Use wait_for instead of sleep to fetch keyring 53/8753/1
authorgrakiss <grakiss.wanglei@huawei.com>
Sat, 16 Jan 2016 07:56:31 +0000 (15:56 +0800)
committerJustin chi <chigang@huawei.com>
Sat, 30 Jan 2016 05:16:10 +0000 (05:16 +0000)
commitcb3d982b9c70e86dbe489c9eddfa40f2e563e224
treeab45117f2591e7bf6ece6c882340503eb6757f79
parenta7664d66d61424d6e931daf14e0cc50b82db76a7
Use wait_for instead of sleep to fetch keyring

JIRA: COMPASS-275
  - fetch is not reliable, and sleep is also not reliable
  - wait_for can be used to confirm the file existence

Change-Id: Ie44715e1b8756398f656fdee2c3243f03967e29a
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
(cherry picked from commit 8f997e075da72337a5c60158708081bc40d77c67)
deploy/adapters/ansible/roles/ceph-mon/tasks/install_mon.yml