Skip to content

Commit d88f9ee

Browse files
author
P4T12ICK
committed
fix: correct permissions for outputs.conf
1 parent dcde428 commit d88f9ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tasks/install_universal_forwarder.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020

2121
- name: copy outputs.conf to forward data to splunk server
2222
become: true
23-
become_user: splunkfwd
2423
template:
2524
src: outputs.conf.j2
2625
dest: /opt/splunkforwarder/etc/system/local/outputs.conf
26+
owner: splunkfwd
27+
group: splunkfwd
28+
mode: '0644'
2729
force: yes
2830

2931
- name: splunk license acceptance

0 commit comments

Comments
 (0)