Using dynamic groups in ansible
When we have a condition which need to be checked for many tasks, it may be advisable to just exclude hosts (based on this condition) from been run at all.
I played with idea of dynamic groups, and here are my observations.