converting ansible_hostname to inventory_hostname for robustness