using ansible_hostname as COMMON_HOSTNAME for devstack
add check for COMMON_HOSTNAME length
Merge pull request #1394 from edx/clytwynec/preview-host

Clytwynec/preview host