Skip to content

Commit

Permalink
Merge pull request #852 from splunk/indexer-group-mc
Browse files Browse the repository at this point in the history
non idx-cluster mc peering
  • Loading branch information
jmeixensperger authored Jul 15, 2024
2 parents f14fbce + df4bd0a commit fbf6e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/splunk_monitor/tasks/adding_peers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
- include_tasks: ../../../roles/splunk_common/tasks/wait_for_splunk_instance.yml
vars:
splunk_instance_address: "{{ item }}"
with_items: "{{ groups['splunk_indexer'] }}"
with_items: "{{ group_list }}"

- name: Set search peers
command: "{{ splunk.exec }} add search-server {{ cert_prefix }}://{{ item }}:{{ splunk.svc_port }} -auth {{ splunk.admin_user }}:{{ splunk.password }} -remoteUsername {{ splunk.admin_user }} -remotePassword {{ splunk.password }}"
Expand All @@ -78,5 +78,5 @@
notify:
- Restart the splunkd service
no_log: "{{ hide_password }}"
with_items: "{{ groups['splunk_indexer'] }}"
with_items: "{{ group_list }}"
#INFRA-38882: Update exec?

0 comments on commit fbf6e56

Please sign in to comment.