Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splunkbase app not installed when using SPLUNK_APPS_URL #673

Open
dd-Splunk opened this issue May 15, 2024 · 0 comments
Open

Splunkbase app not installed when using SPLUNK_APPS_URL #673

dd-Splunk opened this issue May 15, 2024 · 0 comments

Comments

@dd-Splunk
Copy link

If the compose.yml file contains a reference to a SPLUNKBASE app URL like:

  so1:
    environment:
      SPLUNK_APPS_URL: https://splunkbase.splunk.com/app/1924/release/7.2.1/download
      SPLUNK_PASSWORD: <password>
      SPLUNK_STANDALONE_URL: so1
      SPLUNK_START_ARGS: --accept-license
      SPLUNKBASE_PASSWORD: <sb_password>
      SPLUNKBASE_USERNAME: <sb_user>
      TZ: Europe/Brussels

the container fails to start with the following error message:

so1-1  | TASK [splunk_standalone : Install app via REST] ********************************
so1-1  | fatal: [localhost]: FAILED! => {}
so1-1  | 
so1-1  | MSG:
so1-1  | 
so1-1  | The conditional check ''itsi' not in app_contents.stdout_lines' failed. The error was: error while evaluating conditional ('itsi' not in app_contents.stdout_lines): 'dict object' has no attribute 'stdout_lines'
so1-1  | 
so1-1  | The error appears to be in '/opt/ansible/roles/splunk_common/tasks/install_apps.yml': line 73, column 3, but may
so1-1  | be elsewhere in the file depending on the exact syntax problem.
so1-1  | 
so1-1  | The offending line appears to be:
so1-1  | 
so1-1  | 
so1-1  | - name: Install app via REST
so1-1  |   ^ here
so1-1  | 
so1-1  | 
so1-1  | PLAY RECAP *********************************************************************
so1-1  | localhost                  : ok=82   changed=17   unreachable=0    failed=1    skipped=84   rescued=0    ignored=0  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant