Openstack Ansible deployment fails

Hi all,
I am getting error while deploying Openstack Ansible. The error is :

TASK [lxc_container_create : Wait for ssh to be available] *********************

The setup-hosts.yml script gets stuck in this command, Please someone provide a solution to this.
Thanks.