Thanks J
Thats not a bad idea. It was more of a mini project i was testing my python/ansible skills on but its also because at the new place Im working at, they also use the Output from Cloud-formation templates as variables that are then upload into for Bamboo to use. Bamboo tends to use the format of
VPC=vpc-35627
AWS_REGION=us-east-1
My code was going to work something like this
inlcude_cfn_vars:
stack: name-of-my-stack
stack_prefix:
regex:
This would add it into the play list instead of having to use a wrapper. I also allowed it to work with S3 bucket. So, when bamboo uploaded a VARS file to the S3 buck, you have to sometimes pull that back down and inject back into Bamboo etc. where I wanted to see if my plugin could do that.
I just thought there was a function or something to add my vars to the play like include_vars does.