"yes" as string (not boolean)

Hi,

Ansible keeps casting my “yes” string variable into a boolean.
How do I prevent it from doing that?

Regards,
Wilber H

Depends, this can happen at many points and for diff reasons, in
general `|string` filter when you consume it ensures it is a string,
if it is happening at YAML boundry quote it or use !!str

https://hitchdev.com/strictyaml/why/implicit-typing-removed/ <= its
the opposite of yours, but same issue

Thanks Brian; good info.
I ended using IFELSE conditions.