End ansible

37 views
Skip to first unread message

venkatesh rasipuram

unread,
Dec 12, 2017, 1:05:17 AM12/12/17
to Ansible Project
HI team, 

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?

Kai Stian Olstad

unread,
Dec 12, 2017, 9:48:42 AM12/12/17
to ansible...@googlegroups.com
You have the module meta with end_play.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages