No. But look at the "add_host" module examples, prominently featured in things like the ec2 examples, for how to do this without reloading inventory.
http://docs.ansible.com/add_host_module.html On Fri, Sep 26, 2014 at 4:20 AM, Jakub Veverka <[email protected]> wrote: > Hi, > > I have several plays to setup coreos stack: > The first brings up aws machines, the second one creates ssh_config ( need > to communicate via proxycommand ) based on aws inventory groups. > > Is it possible to reload inventory between steps 1 and 2, or do I have to > run ansible-playbook twice? > > # cat site.yml > > - include: coreos.yml > > - include: ssh_config.yml > > - include: docker_image.yml > > - include: coreos_apps.yml > > > -- > 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/f14c1ecf-f690-4ff1-8338-e2424c6f0eb7%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/f14c1ecf-f690-4ff1-8338-e2424c6f0eb7%40googlegroups.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/CA%2BnsWgxNucqRF8nboz6tGTPYz2bJ19XOb2Z2Vb-UL0_DgKGROg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
