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/CAFtmDk8%3Dho8akB2UKDY_wwf70%2BTELEEpSdLsHc9XKFrH8d97oQ%40mail.gmail.com.

Reply via email to