How can i use regex in Amazon EC2 filters in tags
<p>This is working fine for me in ansible</p>

<pre><code>- ec2_remote_facts:
     region: "{{region}}"
     filters:
        "tag:Name": "server1"
</code></pre>

<p>But i want to have regex like</p>

<pre><code> - ec2_remote_facts:
     region: "{{region}}"
     filters:
        "tag:Name": "server1*"
</code></pre>

<p>How can i do that</p>