Converting feature flags into groups in Ansible
There is a specific case when you want to execute a play for hosts with a specific attribute. For sake of illustration I’ll use hardware_raid: true
in all examples, but it should be equally useful for all other cases.