title: ansible filter with json_query
body: <p>I write this:</p>
  
  <pre><code>- name: test for seed
    debug:
      var: hostvars|json_query("*.ansible_host")
  </code></pre>
  
  <p>And it prints every host. But this does not filter hosts:</p>
  
  <pre><code>- name: test for seed
    debug:
      var: hostvars|json_query("*[?ansible_host=='192.168.56.101']")
  </code></pre>
  
  <p>It just prints an empty list, while I'm sure this host exists. This is the relevant inventory line:</p>
  
  <pre><code>[build-servers]
  build-server ansible_host=192.168.56.101
  </code></pre>
  
  <p>Am I doing something wrong?</p>