Hi,
I have the need to configure each device in an auto scaling group with in AWS individually. On first boot they need to register with some third party servers and I dont want to save the credentials with in the AMI image
What I am looking to do is have the auto scaling group run a small bit of lambda code on launch that would call jenkins via the "remote Access API" to run a project, but I cant seem to work out how to pass a variable to the "invoke ansible playbook" plugin
This part of the project looks like

So i want to call this project and set the inventory to the IP address of the new AWS instance. I am new to the remote access API and looking though the docs I don't get how / if I can do this?
can any one tell me is I can do this or am i wasting my time fiddling? so far nothing is successful
If not this way are there better ways to call a targeted ansible project from AWS auto scaling events?
Thank you
Aaron