generating Ansible hosts file