File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ Decide wether to install Docker via
84
84
Docker is required for the `docker` executor but not for the
85
85
` docker+machine` executor.
86
86
87
+ ` ` ` yaml
88
+ gitlab_runner_hide_sensitive_changes: true
89
+ ` ` `
90
+ Do not display sensitive changes in diffs by default.
91
+
87
92
# ## Docker-machine variables
88
93
89
94
` ` ` yaml
Original file line number Diff line number Diff line change @@ -52,3 +52,6 @@ gitlab_runner_autoscaler_plugin_url: "https://github.com/sardinasystems/fleeting
52
52
gitlab_runner_autoscaler_plugin_checksumfile : " https://github.com/sardinasystems/fleeting-plugin-openstack/releases/download/{{ gitlab_runner_autoscaler_plugin_version }}/fleeting-plugin-openstack_{{ gitlab_runner_autoscaler_binary_version }}_sha512-checksums.txt"
53
53
54
54
gitlab_runner_butane_config_template : " butane-config.bu.j2"
55
+
56
+ # Do not display sensitive changes in diffs by default
57
+ gitlab_runner_hide_sensitive_changes : true
Original file line number Diff line number Diff line change 67
67
owner : " root"
68
68
group : " root"
69
69
mode : ' 0600'
70
- no_log : true
70
+ no_log : " {{ gitlab_runner_hide_sensitive_changes }} "
71
71
72
72
...
Original file line number Diff line number Diff line change 42
42
- name : " Initialize docker-machine"
43
43
ansible.builtin.include_tasks : " docker-machine-init.yml"
44
44
when : " __gitlab_runner_install_docker_machine"
45
- no_log : true
45
+ no_log : " {{ gitlab_runner_hide_sensitive_changes }} "
46
46
loop : " {{ gitlab_runner_list }}"
47
47
loop_control :
48
48
loop_var : " gitlab_runner"
63
63
group : " {{ gitlab_runner_config_group | default('root') }}"
64
64
mode : " 0600"
65
65
notify : " Restart GitLab-Runner"
66
- no_log : true
66
+ no_log : " {{ gitlab_runner_hide_sensitive_changes }} "
67
67
vars :
68
68
__ignition_content : " {{ __ignition_json['content'] | b64decode }}"
69
69
when : " not __gitlab_runner_is_initial_dryrun"
You can’t perform that action at this time.
0 commit comments