PlayIterator.add_tasks raised an error when trying to add an empty task list. This was the root cause of ansible issue #13370.