Syntax errors in `ansible.groups` definition are not well handled: Error returned: undefined method `each' for "machine1":String (NoMethodError) Being tolerant here doesn't hurt and may avoid people get confused/annoyed.