ansible_play_batch equivalant which excludes failed hosts?

I’m using pause with a prompt to display a list of devices that the current role is about to applied to. Here’s an example:

`

  • name: Prompting To Continue
    pause:
    prompt: >

That was a bug and should be fixed in current devel, ansible_play_batch and ansible_play_hosts should only reflect ‘current’ hosts.

Thanks Brian!