10, 2015 at 6:39:29 PM UTC+5:30, Vishal Uderani wrote:
Im facing a similar issue where my workflow is as follows
1) deploy code to an instance
2) create an ami from the said instance
3) spawn x instances from the said AMI
4) register all newly created instances to the elb using ec2_elb
, Vishal Uderani wrote:
nevermind i figured my ec2_elb problem was though . the instance_ids need
to be passed in via complex args , since they are an array and the standard
key=value argument method would not work here . To workaround this , I
passed the ids through the jinja2 join filter
Im facing a similar issue where my workflow is as follows
1) deploy code to an instance
2) create an ami from the said instance
3) spawn x instances from the said AMI
4) register all newly created instances to the elb using ec2_elb module
step 4) code looks like
- name: adding the new