On Mon, Jan 19, 2015 at 10:18 AM, Biswajit Banerjee
<
biswajit...@commonfloor.com> wrote:
> Thank you Evan and Arbab.
>
> My use case here, as soon as autoscale take place and new instance are UP..I
> have few more plays to start ...like for an example ...installing and
> configuring git ...apache.....other needed settings.... so those role
> should identify the newly launched
> instances. So need a mechanism for that.
If what you're executing in the servers has no side-effects and your
plays are properly configured to be indempotent, it shouldn't matter
if the machine is a fresh instance or an "old" one; running ansible in
each one of them should make them consistent between themselves (i.e.,
install everything needed in a fresh instance and keeping every other
instance unchanged).