Conditional succeeds in 2.1.1.0 but fails in 2.2.2.0

Hi,

I was instructed to direct this issue here:

https://github.com/ansible/ansible/issues/23358

Any suggestions why the difference in behavior?

Thanks