Skip to content

hec.enable should be check prior to include tasks #835

Open
@BigCaber

Description

Hi !

https://github.com/splunk/splunk-ansible/blame/e436c07777c3cfb05f1466d0e18a3828bef6e115/roles/splunk_standalone/tasks/main.yml#L2

should have implemented checks like this previous commit affecting the same file.

https://github.com/splunk/splunk-ansible/blame/eb96be01374b0a87ac01e7cbca6eba72222d830b/roles/splunk_standalone/tasks/main.yml#L4

and it should be implemented for all 4 references:

  • splunk-ansible/roles/splunk_heavy_forwarder/tasks/main.yml
  • splunk-ansible/roles/splunk_indexer/tasks/main.yml
  • splunk-ansible/roles/splunk_standalone/tasks/main.yml
  • splunk-ansible/roles/splunk_universal_forwarder/tasks/main.yml

right now, hec tasks run no matter what and there is no way to skip that task, I do not understand why would anyone remove a check..

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions