Dynamic inventory / Inline content help

22 views
Skip to first unread message

Aaron Street

unread,
Oct 12, 2017, 12:40:48 PM10/12/17
to Ansible Project
Hi all, 

I am passing a jenkins build job to Ansible that contain the Instance ID such as "i-0803f13f0236a495f" I want to used this as the input to the dynamic inventory and was hoping to use the ec2.py script to do this but i can't figure out how to pull this value back easily

What I want to be able to do is in the dynamic inventory field be able to send one or more ID and it return the correctly formatted JSON script but i can't seem to do this with ec2.py can any one help? 

Thank you 

Aaron 
Reply all
Reply to author
Forward
0 new messages