title: ansible can't get inventory_hostname
body: <p>I'm trying to get the short name of a server being worked on. </p>
  
  <p>I have this in jinja2:</p>
  
  <pre><code>ServerAlias graphite.{{ hostvars[inventory_hostname] }}
  ServerAlias graphite.{{ hostvars[inventory_hostname] }}.{{dc}}.{{subnet}}
  </code></pre>
  
  <p>The above just spills the whole glob of facts instead of just the short name. </p>
  
  <p>This is what the hosts.yaml looks like: </p>
  
  <pre><code>graphite.experimental.com dc=lv1 subnet=coupons.lan
  </code></pre>