use inventory_hostname instead of ansible_hostname