Set machine_role directly