splunk / splunk-platform-automator

Ansible framework providing a fast and simple way to spin up complex Splunk environments.
Apache License 2.0
117 stars 46 forks source link

Add Splunk License #15

Closed tonyprinzler closed 3 years ago

tonyprinzler commented 3 years ago

Describe the bug After the license file is copied to the /tmp folder of the license master, splunk is not able to read/add the file. The file has only read/write permissions for root.

Execution in: ansible/roles/license_master/tasks/add_license.yml

Changes to fix: set ownership in the copy task fixed the problem: owner: "{{ splunk_user }}"

Desktop (please complete the following information):

splunkenizer commented 3 years ago

I never had an issue so far, but I agree this should be copied with the correct owner. This is fixed now.