Having multiple tasks that do the same thing isn't necessary a bad thing - the way that you structured your tree makes it easy to read and you can use shared variables to ensure the same vale gets set for each task.
With that said, you could do something like the attached. This is untested but it should give you an idea on how to approach it another way.