add hint for single run redeploy

This commit is contained in:
2025-01-26 21:02:52 +01:00
parent 44ed10ee61
commit 228cb10a80

View File

@@ -42,4 +42,8 @@ Somtimes it is need to redeploy a runner (with other token e.g.). in this case y
RUNNER_REDEPLOY: true
```
Hint: should remove after usage!
Hint 2: you can use --extra-vars in command for sinlge use:
```bash
ansible-playbook playbooks/git-runners.yml -l runnerhost --extra-vars '{"RUNNER_REDEPLOY": true}'
```
With this option ansible delete the `.runner` file. Without this file ansible do a new registration for this runner.