copying "role" attr in copy_task_nodes()

When creating new job xml copy over "role" attr for each task.