|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
dest: /opt/splunkforwarder/etc/system/local/user-seed.conf
|
|
|
|
|
|
|
|
|
|
- name: Enable Splunk at boot
|
|
|
|
|
command: /opt/splunkforwarder/bin/splunk enable boot-start --accept-license
|
|
|
|
|
command: /opt/splunkforwarder/bin/splunk enable boot-start --accept-license --no-prompt
|
|
|
|
|
|
|
|
|
|
- name: Change Splunk server name
|
|
|
|
|
command: /opt/splunkforwarder/bin/splunk set servername {{ inventory_hostname }}
|
|
|
|
|