update inventory, wanted_* and hostname
removed unecesarry variable