title: Ansible Find any member of list in string
body: <p>I have a problem where I need to only accept a task when any member of a list of IPS is found in registred result from a uri request, the list is generated dymanically and of variable size, the url is a aggregator of  different microservices so it will take time until it is populated (thus the retries and delays)</p>
  
  <pre><code>vars:
     ES_IPS: ["192.168.0.1","192.168.0.2","192.168.0.3"]  #dynamic (this is an example)
  - name: Check if any member exists
    uri:
       url: http://localhost:8080/stuff
       method: GET 
       return_content: yes 
       status_code: 200 
    register: result
    until: any of ES_IPS in result.content &lt;-------- (this here)
    retries: 100 
    delay: 10
  </code></pre>
  
  <p>Any help would be appreciated.</p>