Populate extra_hosts with all available in pillar hosts records by default

Since there are fqdn records in Openstack service catalog, we need to
resolve these names to ips inside our containers. From my POV would be good
to populate all containers with this mapping, make it by default for
every service in compose.

Also align indents and small refactoring.

Related-PROD: PROD-26540 (PROD:26540)

Change-Id: Idd793ec792de65f00d8a7a5a457b74d1643be752
1 file changed