title: Way to get hostname in ansible while only executing on localhost?
body: <p>Is there a built-in that allows for you to grab the hostname of the host you're on, excluding the <code>inventory_hostname</code> variable? What I want to do is execute plays on multiple hosts, but they have to be manually ran on each host (security policy, don't worry about it). However, as part of this, we use template variables that require the <em>actual</em> hostname of the localhost. Is it possible to acquire this with something other than <code>inventory_hostname</code>, since I assume that will just return <code>localhost</code>?</p>