
In the past, ansible_hostname could contain a FQDN or a hostname. This is not the case anymore as fqdns are now stored in facts as ansible_fqdn while short hostnames are stored in ansible_hostname. This also simplifies the reading by using json_query. Change-Id: I0755684846e42b4a17c4e46d70940535daaf73e7