How to end play in a role based on condition, but keep playing the rest of the roles

10 views
Skip to first unread message

rijeshpp

unread,
Dec 21, 2021, 8:07:41 AM12/21/21
to Ansible Development
Hello,

I have a playbook that has multiple roles in it. How can I exit from the execution of a role's task while continuing to play the other roles?The module meta: end_play just ends the play at the place it is called, which is not the way I wanted.

Thanks,
Rijesh.
Reply all
Reply to author
Forward
0 new messages