Skip to content

Commit 1ceacbd

Browse files
committed
gitlab_runner: fix user_data template double JSON encoding
Signed-off-by: Norman Ziegner <[email protected]>
1 parent 3df809b commit 1ceacbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/gitlab_runner/templates/config.toml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ sentry_dsn = "{{ gitlab_runner_sentry_dsn }}"
114114
networks = [ { uuid = "{{ runner.autoscaler_network_id }}" } ]
115115
security_groups = [ "{{ runner.autoscaler_security_group }}" ]
116116
scheduler_hints = { group = "{{ runner.autoscaler_scheduler_hint }}" }
117-
user_data = '{{ __ignition_content | to_json }}'
117+
user_data = '{{ __ignition_content }}'
118118

119119
[runners.autoscaler.connector_config]
120120
username = "{{ runner.autoscaler_username }}"

0 commit comments

Comments
 (0)