Skip to content

Commit

Permalink
feat(no_log): do not log tasks with secrets (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyphermonkey authored Mar 20, 2023
1 parent 6a30f36 commit c4712f8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/splunk/tasks/configure_authentication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
- splunk_authenticationconf is defined
- ad_bind_password != 'undefined'
notify: restart splunk
no_log: true
1 change: 1 addition & 0 deletions roles/splunk/tasks/configure_deploymentclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@
mode: 0644
become: true
notify: restart splunk
no_log: true
when: splunk_ds_key != 'undefined'
1 change: 1 addition & 0 deletions roles/splunk/tasks/configure_idxc_manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
notify:
- restart splunk
- wait for splunkd
no_log: true
loop:
- { option: "mode", value: "{{ mode_value}}" }
- { option: "replication_factor", value: "{{ splunk_idxc_rf }}" }
Expand Down
1 change: 1 addition & 0 deletions roles/splunk/tasks/configure_license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
group: "{{ splunk_nix_group }}"
become: yes
notify: restart splunk
no_log: true
when:
- splunk_license_group=="Peer"
- splunk_install_type=="full"
1 change: 1 addition & 0 deletions roles/splunk/tasks/configure_shc_deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
group: "{{ splunk_nix_group }}"
become: true
notify: restart splunk
no_log: true
loop:
- { option: "pass4SymmKey", value: "{{ splunk_shc_key }}" }
- { option: "shcluster_label", value: "{{ splunk_shc_label }}" }

0 comments on commit c4712f8

Please sign in to comment.