I consider this an egregious oversight (or neglect) on Ansible's part. The fact that you can't create a boolean fact makes playbooks horribly verbose and hard to read.
The following creates a string "True". I have not found a way around this.
Then to use it you have to cast it.
If you have a mildly complex clause it gets really ugly.
This would be so much nicer.
Why doesn't ansible just add something like this.
What's worse is that most Ansible playbooks just sprinkle this all over the place.