AWX - Limit - Check in the role if there are no play_hosts?

it might be possible to setup a workflow node that runs before any others, with a task similar to what you posted. Just a single task delegates to localhost, and introspects the rest of the inventory. Only pass on the other inventory hosts to the rest of the workflow nodes if this first one passes

1 Like