title: Ansible wrongly complains about unquoted values
body: <p>I have an Ansible setup like this:</p>
  
  <code>roles/myrole/defaults/main.yml</code>
  
  <pre><code>some_flag: "False"
  </code></pre>
  
  <code>roles/myrole/vars/some_env.yml</code>
  
  <pre><code>SOME_FLAG: "{{ some_flag }}"
  </code></pre>
  
  <code>roles/myrole/tasks/main.yml</code>
  
  <pre><code>---
  - name: Load env
    include_vars:
      file: "vars/some_env.yml"
      name: "some_env"
  
  - name: Some Task
    docker_container:
      name: "some_container"
      image: "some_image"
      env: "{{ some_env }}"
  </code></pre>
  
  <p>All looks good here, everything is quoted (cf. also <a href="https://stackoverflow.com/q/56544069/539599">this question</a>). Even so, Ansible (2.8.3) complains:</p>
  
  <blockquote>
    <p>fatal: [myhost]: FAILED! => {"changed": false, "msg": "Non-string value found for env option. Ambiguous env options must be wrapped in quotes to avoid them being interpreted. Key: SOME_FLAG"}</p>
  </blockquote>
  
  <p>What's going on?</p>