add wait for glance server to glance playbook
added head support