basic-system/network: Use ansible_hostname instead of inventory_hostname

The latter one is not always a non-qualified name, in AStA it is a FQDN.
1 job for th in 41 seconds (queued for 3 seconds)
Status Name Job ID Coverage
  Test
passed test #6549

00:00:41