title: How to Find List Membership in a List in Ansible
body: <p>I have a list that I would like to use to see if any of the members of the list are in a second list, and use that in an Ansible <code>when</code> clause. Can this be done in a one-liner?</p>
  
  <pre><code>- name: task include moar ansible
    include: more_tasks.yaml
    when: any_member_of_this_list in some_other_list
  </code></pre>