Hi, in this case I would first provision web server and join it into ELB after it is fully operational.
David Karban Linux server specialist/Specialista na správu linuxových serverů www.karban.eu 2016-01-05 5:26 GMT+01:00 Gustavo Aguiar <[email protected]>: > Hi All, > > I’m trying to install the httpd package in recently created EC2 instances > in my playbook. > > I have multiple playbooks in different roles that are being invoked at > once. > > When I get to add my recently created EC2 instances to the also recently > created ELB, my registration fails once my instances doesn’t have httpd > running yet and the health_check fails. > > What would be the best approach in this case ? > > - Installing httpd packages after the EC2 creation and then adding > instances to the ELB ? > > Thanks in advance, > —Gustavo > > > ------------------------------ > This email has been scanned for email related threats and delivered safely > by Mimecast. > For more information please visit http://www.mimecast.com > ------------------------------ > > -- > 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/C958A606-136A-4F16-9A94-80E95A5F6FAB%40itmethods.com > <https://groups.google.com/d/msgid/ansible-project/C958A606-136A-4F16-9A94-80E95A5F6FAB%40itmethods.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAOBFM978AuViojC%3D2aSN%2Bdwm7ecBx1cURvxDpS7AaaK3fmE0Fg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
