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