The usual way would be to tag the instances and pick them up at the start of 
your play, put them in a group and count them. However, the dynamic inventory 
contains the running instances only otherwise your plays will fail running 
against stopped instances. Not sure how to get around this. 

-- 
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/67924150-030e-407b-ab47-7a7a4d741fbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to