Skip to content

Commit

Permalink
checks added for hec configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
BigCaber committed May 14, 2024
1 parent e436c07 commit 0f4cc8d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/splunk_heavy_forwarder/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
- include_tasks: ../../../roles/splunk_common/tasks/set_as_hec_receiver.yml
when:
- splunk.hec.enable
- splunk.hec.enable is defined

- include_tasks: ../../../roles/splunk_common/tasks/set_as_deployment_client.yml
when:
Expand Down
3 changes: 3 additions & 0 deletions roles/splunk_indexer/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
- include_tasks: ../../../roles/splunk_common/tasks/set_as_hec_receiver.yml
when:
- splunk.hec.enable
- splunk.hec.enable is defined

- include_tasks: indexer_clustering.yml
when: splunk_indexer_cluster | bool
Expand Down
3 changes: 3 additions & 0 deletions roles/splunk_standalone/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
- include_tasks: ../../splunk_common/tasks/set_as_hec_receiver.yml
when:
- splunk.hec.enable
- splunk.hec.enable is defined

- include_tasks: ../../splunk_common/tasks/add_splunk_object.yml
when: splunk.add is defined
Expand Down
3 changes: 3 additions & 0 deletions roles/splunk_universal_forwarder/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
- include_tasks: ../../../roles/splunk_common/tasks/set_as_hec_receiver.yml
when:
- splunk.hec.enable
- splunk.hec.enable is defined

- include_tasks: ../../../roles/splunk_common/tasks/set_as_deployment_client.yml
when:
Expand Down

0 comments on commit 0f4cc8d

Please sign in to comment.