I want to set some static vars alongside my AWS inventory plugin config but
I can't find any doc. Maybe this isn't supported or maybe my syntax is
incorrect.
plugin: aws_ec2
iam_role_arn: arn:aws:iam::1234567890:role/assumed-ansible
regions:
- ap-southeast-1
hostnames:
- ip-address
strict_permissions: False
strict: False
keyed_groups:
- prefix: tag
key: tags
all:
vars:
aws_account_name: myaccount
With a simple playbook to just output aws_account_name it always fails
with...
'aws_account_name' is undefined
I've also tried the AWS group name like
aws_ec2:
vars:
aws_account_name: myaccount
but that doesn't work either
--
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/c91d920d-757b-4c2c-8b9e-77b8f31215bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.