This 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.
This is a fork of original role by Andrey Shpak (https://github.com/insspb/ansible-role-h