Sets hostname for target host
None
inventory_hostname_short - this is Ansible Special Variable
None
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: theforeman_custom.set_hostname}
GPL2
khain