Ansible: how to get host specific variable value by hostname
<p>I'd like to insert initial values to a client's sqlite by Ansible and the values are different for every host.</p>

<p>I created myrole/vars/main.yml:</p>

<pre><code>hostname1:
    id: id_1
    value: value_1
hostname2:
    id: id_2
    value: value_2
</code></pre>

<p>I want to to get it by <code>{{ {{ inventory_hostname }}.id }}</code> and insert the template of .sql, but it is not working.</p>