clean up samhain template by role instead of by hostname