On Tuesday, 12 December 2017 07.05.17 CET venkatesh rasipuram wrote:
> I have my ansible play book. where I am running the yaml scripting 
> sequentially (which mean run one after another host serial -1)
> 
> As soon as I find the right host to set, I wanted to exit from the playbook 
> and do not want to continue for further host.
> 
> end_play will end the particular execution but it is moving to another 
> host. what is the command to exit completely from ansible scripting?

You have the module meta with end_play.

-- 
Kai Stian Olstad

-- 
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/1607449.7MK66jV0Pc%40x1.
For more options, visit https://groups.google.com/d/optout.

Reply via email to