Ansible INI lookup
<p>I'm looking up values in an INI file using Ansible's lookup function. Here's the example in the documentation:</p>

<pre><code>- debug: msg="User in integration is {{ lookup('ini', 'user section=integration file=users.ini') }}"
</code></pre>

<p>And here's my task:</p>

<pre><code>- set_fact: aws_access_var = "{{ lookup('ini', 'AWS_ACCESS_KEY_ID section=Credentials file=/etc/boto.cfg') }}"
</code></pre>

<p>They look identical in syntax but my task fails:</p>

<pre><code>fatal: [localhost]: FAILED! =&gt; {"failed": true, "msg": "template error while templating string: unexpected char u\"'\" at 18. String: \"{{ lookup('ini', 'AWS_ACCESS_KEY_ID section"}
</code></pre>

<p>Any idea what's wrong with it?</p>