Hi Ganesh,

It would be easier to dig, if you can give a sample output as well of 
ansible-playbook -v /your/playbook

Regards,
Vikas

On Thursday, 8 October 2015 00:17:28 UTC+11, Diwaakartg Ganesh wrote:
>
> ansible - 1.9.3
>
> Dynamic inventory is used. bootstrapping an EC2 instance and adding the 
> instance to host using add-host, but it skips the plays for the newly 
> created hosts. But when running the play next time, it finds the host and 
> starts executing. here is the snippet,
>
> hosts: localhost
> tasks:
>   - name: something
>     ec2: this module will create instances
>   - name: adding hosts
>     add host: name=(name of the new instance)
> hosts: new host
> tasks: 
>   - something
>
> the above is just an example .This is the scenario.
>
>

-- 
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/90fa846f-7c9b-454e-9732-765ffa0673c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to