updating playbook for ip-based hostnames