use inventory_hostname instead of ansible_hostname
Merge pull request #74 from tgerla/varsfixes

use inventory_hostname instead of ansible_hostname