On 14.09.2019 17:55, Damon Powell wrote:
> This was also throwing me off, it would be nice if there was a way
> around
> it as well.
>
> Even though the logic is working and node1 stops after the check, the
> block
> output displays the same msg for all hosts. I would have thought that
> this
> would only show the msg for node1 as thats the node thta meets the
> end_host
> check. Node2 continues to run all other checks but the message is
> confusing
> as it first looks like its skipping both hosts but its really not.
>
> TASK [end play for host host if nothing to upgrade]
> ****************************
> ok: [
node1.test.com] => {
> "msg": "Nothing to upgrade, ending play for host"
> }
> ok: [
node2.test.com] => {
> "msg": "Nothing to upgrade, ending play for host"
> }