GitHub repository: speechmatics/ansible-role-hostname
Description: This Ansible role will set hostname on any target host. By default hostname is same as inventory_hostname, but can be set as different by using vars. Updates hosts file too.