You haave to install the runner on the target, then you can use exec, plus a switch to allow it to run as root. The key is it has to be configured on the target device _first_.
Then you have a root shell on your target device (I leave the "should" as an exercise for the user )
But, It won't work using the free shared gitlab runners.
Then you have a root shell on your target device (I leave the "should" as an exercise for the user )
But, It won't work using the free shared gitlab runners.