Open BSonPosh opened 1 year ago
Can you open a PR following the logic in configure_idxc_manager.yml
to contextually switch from the master_uri
arg to the manager_uri
var? Should look something like this:
- name: Run splunk version command to check currently installed version
include_tasks: check_splunk_version.yml
# Splunk version < 8.1 supports mode=master
# https://docs.splunk.com/Documentation/Splunk/8.0.9/Indexer/Configuremasterwithserverconf
# Splunk version >= 8.1 supports mode=manager
# https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Configuremanagerwithserverconf
- name: Setting clustering mode based on Splunk version number
set_fact:
mode_value: "{% if splunk_version_release | float < 8.1 %}master{% else %}manager{% endif %}"
Sure... I am teaching class this week but I will make a point to create the PR next week
This causes deprecated errors.