Skip to content

Commit dd75771

Browse files
committed
doc: document the need to also provide id and token_obtained_at when using by_template
1 parent 274f65d commit dd75771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Role Variables
3333
- `gitlab_runner_config_update_mode` - Defines how configuration updates are applied:
3434
- Set to `by_config_toml` (default) to apply configuration changes directly by updating the `config.toml` file.
3535
- Set to `by_registering` if changes should be applied by unregistering and re-registering the runner when configuration changes.
36-
- Set to `by_template` if changes for all runners should directly be written in the `config.toml` file. The difference with `by_config_toml` is that this method is faster, but does not take into account the existing configuration of the runners.
36+
- Set to `by_template` if changes for all runners should directly be written in the `config.toml` file. The difference with `by_config_toml` is that this method is faster, but does not take into account the existing configuration of the runners. You may also have to provide additional configuration options for each runner, such as `id` and `token_obtained_at`.
3737
- `gitlab_unregister_runner_executors_which_are_not_longer_configured` - Set to `true` if executors should be unregistered from a runner when they are no longer configured in Ansible. Default: `false`.
3838

3939
See the [defaults/main.yml](https://github.com/riemers/ansible-gitlab-runner/blob/master/defaults/main.yml) file for a list of all possible options that can be passed to a runner registration command.

0 commit comments

Comments
 (0)