Does anyone know?
On Monday, July 11, 2016 at 3:23:00 PM UTC-7, Henry Huang wrote:
>
> I am trying to test the filter result using the ansible command in ad-hoc
> mode for ec2_vpc_subnet_facts module. I can't seem to get the "filters"
> parameter to work in the ad-hoc mode somehow. It keeps giving me back key
> value error or "unable to evaluate dictionary for filters" kind of error no
> matter how I put those things together.
>
> Here's is how my command looks like:
>
> ansible localhost -i ./local -m ec2_vpc_subnet_facts -a
> "profile=my-profile region=us-east-1 filters="{ 'vpc-id': vpc-xxxxx }" -vvvv
>
> And here's the error message:
>
> localhost | FAILED >> {
> "failed": true,
> "msg": "this module requires key=value arguments (['filters={',
> 'vpc-id:', 'vpc-xxxxx', '}'])"
> }
>
> I have played with many different formatting but I just can't get it to
> work.
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/dfaea6fd-d592-4191-812c-2de546e0756b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.