Can you try to use this technique on line#26 https://github.com/arbabnazar/ansible-aws-vpc-ha-wordpress/blob/master/aws/tasks/vpc.yml#L26 For complete reference, check the webserver creation playbook as well.
On Thursday, December 17, 2015 at 9:01:15 PM UTC+5, Josh Smift wrote: > > B> Hi I can only find all the subnets in the same availability zones which > B> is us-east-1a only. I want each of my subnets into different > B> availability zones in AWS. > > Hmm, I don't have any other great ideas, then -- setting the 'az' > parameter in the elements of the 'subnets' list does the right thing when > I try it. (I haven't tried your exact example, but something similar when > I set up a VPC at AWS a while ago.) I did encounter an error where AWS > wouldn't let me create a subnet in a particular AZ (us-east-1c, I think), > but that gave an obvious error, it didn't just drop the subnet into a > different AZ. > > -Josh ([email protected] <javascript:>) > > > > This email is intended for the person(s) to whom it is addressed and may > contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized > use, distribution, copying, or disclosure by any person other than the > addressee(s) is strictly prohibited. If you have received this email in > error, please notify the sender immediately by return email and delete the > message and any attachments from your system. > -- 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/da134f10-3732-4dc3-a59a-33b007b7ed1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
