Skip to content

Commit 560061b

Browse files
authored
Merge pull request #496 from tobiashuste/493-user-data-fix
Fix user_data template JSON encoding
2 parents 52fac04 + 0aee240 commit 560061b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

molecule/gitlab_runner/molecule.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ platforms:
2727
tty: true
2828
provisioner:
2929
name: "ansible"
30+
options:
31+
diff: true
3032
playbooks:
3133
prepare: "prepare.yml"
3234
converge: "converge.yml"
@@ -35,6 +37,7 @@ provisioner:
3537
all:
3638
vars:
3739
gitlab_runner_concurrent: 4
40+
gitlab_runner_hide_sensitive_changes: false
3841
host_vars:
3942
instancegitlabciopenstack1:
4043
gitlab_runner_version: "18.0.2"

roles/gitlab_runner/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
notify: "Restart GitLab-Runner"
6666
no_log: "{{ gitlab_runner_hide_sensitive_changes }}"
6767
vars:
68-
__ignition_content: "{{ __ignition_json['content'] | b64decode }}"
68+
__ignition_content: "{{ __ignition_json['content'] | b64decode | from_json }}"
6969
when: "not __gitlab_runner_is_initial_dryrun"
7070

7171
- name: "Start GitLab-Runner"

0 commit comments

Comments
 (0)