CloudBindle / youxia

A VM provisioner and fleet management tool.
GNU General Public License v3.0
2 stars 1 forks source link

move arbitrary wait into playbook #50

Open SolomonShorser-OICR opened 8 years ago

SolomonShorser-OICR commented 8 years ago

Ansible has a wait_for module and it might be cleaner than the existing "arbitrary wait" in the .youxia/config file:

http://docs.ansible.com/ansible/wait_for_module.html

denis-yuen commented 8 years ago

As discussed, a feature like this would be very helpful. I'm not sure whether wait_for precisely would work, we need to experiment and see whether wait_for can wait before that initial Ansible connection over SSH to gather facts or whether ansible is set for fact gathering before everything in a playbook including wait_for.

But something "like" this would be great.