gitea_runner_register
Register a Gitea Actions runner on a host using a repo bootstrap script; fetches a fresh token at runtime, never in the plan, then verifies the runner is active with the correct node label.
Instructions
Register the Gitea Actions runner on a node with a runner bootstrap script from your own repo checkout (MIA_REPOS; default ops:deploy/bootstrap-node-runner.sh ): a fresh registration token comes from the Gitea API at run time and reaches the script through an environment variable, never the plan or journal. Verified afterwards: act_runner active and the label is exactly node-:host (copied configs announced other nodes' labels before).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | inventory host | |
| name | No | name for the script (default: the inventory name, e.g. pl3 → label node-pl3:host) | |
| repo | No | ops | |
| apply | No | false (default) = dry run: show what will happen on which hosts and a planHash. true = run it; needs planHash | |
| script | No | deploy/bootstrap-node-runner.sh | |
| planHash | No | planHash from the dry run of the very same call, good for one apply; refused if targets or their state changed since |