Skip to content

Commit 622cc4d

Browse files
committed
gitlab: fix sensitive information disclosure
Signed-off-by: Norman Ziegner <n.ziegner@hzdr.de>
1 parent 30f910f commit 622cc4d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

roles/gitlab/tasks/check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
__gitlab_registry_config: "{{ item.registry }}"
2424
when: "item.registry is defined"
2525
loop: "{{ gitlab_additional_configurations }}"
26+
no_log: "{{ gitlab_hide_sensitive_changes }}"
2627

2728
- name: "Check if database key is defined in registry"
2829
ansible.builtin.set_fact:

roles/gitlab/tasks/configure.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
ansible.builtin.set_fact:
3232
__gitaly_item: "{{ item.gitaly }}"
3333
with_items: "{{ gitlab_additional_configurations }}"
34+
no_log: "{{ gitlab_hide_sensitive_changes }}"
3435

3536
- name: "Check if gitaly['configuration'] is present"
3637
when:
@@ -39,6 +40,7 @@
3940
ansible.builtin.set_fact:
4041
__gitaly_configuration_exists: true
4142
with_items: "{{ __gitaly_item | default([]) }}"
43+
no_log: "{{ gitlab_hide_sensitive_changes }}"
4244

4345
- name: "Warn if gitaly['configuration'] is already present"
4446
when:

0 commit comments

Comments
 (0)