Skip to content

Commit c4712f8

Browse files
authored
feat(no_log): do not log tasks with secrets (#175)
1 parent 6a30f36 commit c4712f8

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

roles/splunk/tasks/configure_authentication.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
- splunk_authenticationconf is defined
1111
- ad_bind_password != 'undefined'
1212
notify: restart splunk
13+
no_log: true

roles/splunk/tasks/configure_deploymentclient.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@
4949
mode: 0644
5050
become: true
5151
notify: restart splunk
52+
no_log: true
5253
when: splunk_ds_key != 'undefined'

roles/splunk/tasks/configure_idxc_manager.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
notify:
2424
- restart splunk
2525
- wait for splunkd
26+
no_log: true
2627
loop:
2728
- { option: "mode", value: "{{ mode_value}}" }
2829
- { option: "replication_factor", value: "{{ splunk_idxc_rf }}" }

roles/splunk/tasks/configure_license.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
group: "{{ splunk_nix_group }}"
7777
become: yes
7878
notify: restart splunk
79+
no_log: true
7980
when:
8081
- splunk_license_group=="Peer"
8182
- splunk_install_type=="full"

roles/splunk/tasks/configure_shc_deployer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
group: "{{ splunk_nix_group }}"
1111
become: true
1212
notify: restart splunk
13+
no_log: true
1314
loop:
1415
- { option: "pass4SymmKey", value: "{{ splunk_shc_key }}" }
1516
- { option: "shcluster_label", value: "{{ splunk_shc_label }}" }

0 commit comments

Comments
 (0)