Write localhost line in /etc/hosts when testing
Write localhost line in /etc/hosts when testing

In the test builds, localhost is in the inventory and the /etc/hosts
line isn't adjusted properly since the hostname won't split on a
period.

This patch allows the localhost line in /etc/hosts to be
managed properly during testing builds. This affects CentOS
builds intermittently.

Change-Id: I6368b6584265084af6ff98caba68fc067b1f1f22

openstack/openstack-ansible-rabbitmq_server,openstack/openstack-ansible-rabbitmq_server