The test playbook for Ansible magic variables is update.
Ansible playbook to set hostnames from the inventory is added.