ansible-role-for-splunk
ansible-role-for-splunk copied to clipboard
.bashrc Cannot find expected file ...literals.py
Hi!
When installing a univeral forwarder in version 9.1.1 (at least) on a fresh system via the ansible-role-for-splunk we get the following error message after a successful login with the splunk user:
$ sudo -i -u splunk
(exit=1) Cannot find expected file /opt/splunkforwarder/lib/python3.7/site-packages/splunk/clilib/literals.py
[splunk@host:/opt/splunkforwarder]$
This message comes from .bashrc's line:
. $SPLUNK_HOME/share/splunk/cli-command-completion.sh
What should be done with this error message?