Does anyone have any suggestions about this?

On Wednesday, December 11, 2019 at 3:06:13 PM UTC-8, Guy Knights wrote:
>
> Hi,
>
> According to the documentation for the aws_ec2 plugin, the compose option 
> can be used to create vars when the plugin is executed.
>
> I've been trying to get this to work with a simple plugin config like so:
>
> plugin: aws_ec2
> regions:
>   - us-east-1
> filters:
>   tag:Environment: prod
>   instance-state-name: running
> hostnames:
>   - private-ip-address
> compose:
>   site: 'testing'
> strict_permissions: False
> strict: False
>
> However, when I run a playbook and supply the above inventory file, the 
> 'site' var is undefined.
>
> Am I using this option correctly?
>
> Thanks,
> Guy
>
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/df6718d4-b33a-4863-ba3e-c93890e84a44%40googlegroups.com.

Reply via email to