I'm a newbie in Ansible and I'd like to use the aws_ec2 plugin to return a 
list of ec2 instances with 2 tags: env=stage and a=(empty). I'm using 
"filters" with "tag" like the followings:
```
filters:
  tag:Env:
    - stage
  tag:a:
    -
```
Besides leaving a blank, I've also tried "", '', None, _, null, ~, but they 
all failed to return the list. I've also tried using the "tag-key" "filter" 
but no luck:
```
filters:
  tag-key:
    - a
```
Can someone please help? Also, would you also use filters?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/aaf8add6-2f02-4791-bfa6-daf050ef80c2n%40googlegroups.com.

Reply via email to