-
Notifications
You must be signed in to change notification settings - Fork 118
Fixes issues with configure_dmc.yml #205
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
base: master
Are you sure you want to change the base?
Conversation
|
I ran into this issue with configure_dmc.yml today, is there any likelihood this will get reviewed and merged any time soon? |
dtwersky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just the fqcn
| --- | ||
| - name: Check splunk | ||
| include_task: check_splunk.yml | ||
| include_tasks: check_splunk.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| include_tasks: check_splunk.yml | |
| ansible.builtin.include_tasks: check_splunk.yml |
| include_tasks: check_splunk.yml | ||
|
|
||
| - name: Configure DMC as a IDXC member | ||
| include_tasks: configure_idxc_sh.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| include_tasks: configure_idxc_sh.yml | |
| ansible.builtin.include_tasks: configure_idxc_sh.yml |
Summary
Fixes an issue where the DMC is not automatically configured in Distributed mode because of the lack of the
localdirectory referenced for the file{{ splunk_home }}/etc/apps/splunk_monitoring_console/local/splunk_monitoring_console_assets.confinconfigure_dmc.yml. This fix makes sure the directory exists before creating the file, ensuring that the subsequent task doesn't fail.Also fixes an issue where Splunk returns a non-zero exit code when you add a peer to the DMC as a search peer which is already there (rc 24), and logs as such. This no longer fails the task, and instead just doesn't log a change to the ansible worker.
Also fixes issue #197
Changed
roles/splunk/tasks/configure_dmc.yml