change the way hostname is extracted and refereced from ansible_fqdn to a more appropriate inventory_hostname