From 228cb10a80a7e1f6f8f46d10170197d0c22de259 Mon Sep 17 00:00:00 2001 From: anima Date: Sun, 26 Jan 2025 21:02:52 +0100 Subject: [PATCH] add hint for single run redeploy --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index da4cd7f..5732b36 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file