target_nodes should be array of ip, not node objs