Commit 7c76bd32 by Bertrand Marron

Remove non-existent 'splunk' group when creating user

When 'splunk' group doesn’t exist yet, ansible fails when creating the
user. Leaving it empty will create the group anyway.
parent 122c05f8
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
# Create splunk user # Create splunk user
- name: splunkforwarder | create splunk user - name: splunkforwarder | create splunk user
user: name=splunk group=splunk createhome=no state=present append=yes groups=syslog user: name=splunk createhome=no state=present append=yes groups=syslog
when: download_deb.changed when: download_deb.changed
# Need to start splunk manually so that it can create various files # Need to start splunk manually so that it can create various files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment