splunk / splunk-ansible

Ansible playbooks for configuring and managing Splunk Enterprise and Universal Forwarder deployments
357 stars 186 forks source link

New output doesn't contain summary. #865

Open yaroslav-nakonechnikov opened 1 week ago

yaroslav-nakonechnikov commented 1 week ago

Hello, it is visible, for example here: https://github.com/splunk/splunk-ansible/issues/847 that in the past there was summary output after all playbook finished. And more: each and every cycle was written on the screen, when task looked like stuck.

now, there is nothing. Please revert.

yaroslav-nakonechnikov commented 1 week ago

for example on 9.3.1:

TASK [splunk_indexer : include_tasks] ******************************************
included: /opt/ansible/roles/splunk_indexer/tasks/../../../roles/splunk_common/tasks/check_for_required_restarts.yml for localhost

TASK [splunk_indexer : Check for required restarts] ****************************
changed: [localhost]

TASK [Check all instances for required restarts] *******************************
included: /opt/ansible/roles/splunk_common/tasks/check_for_required_restarts.yml for localhost

TASK [Check for required restarts] *********************************************
changed: [localhost]

RUNNING HANDLER [splunk_common : Restart the splunkd service] ******************
included: /opt/ansible/roles/splunk_common/handlers/../handlers/restart_splunk.yml for localhost

already passed 10 minutes, but it is not finished. no error as well...

yaroslav-nakonechnikov commented 1 week ago

and it just dropped:

FAILED - RETRYING: [localhost]: Restart the splunkd service - Via CLI (60 retries left).

RUNNING HANDLER [splunk_common : Restart the splunkd service - Via CLI] ********
changed: [localhost]

RUNNING HANDLER [splunk_common : include_tasks] ********************************
included: /opt/ansible/roles/splunk_common/handlers/../tasks/check_uds_file.yml for localhost

RUNNING HANDLER [splunk_common : Check if UDS file exists] *********************
ok: [localhost]

RUNNING HANDLER [splunk_common : Set UDS enabled/disabled] *********************
ok: [localhost]

RUNNING HANDLER [splunk_common : Wait for splunkd management port] *************
ok: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=131  changed=27   unreachable=0    failed=0    skipped=69   rescued=0    ignored=0

===============================================================================

Ansible playbook complete, will begin streaming splunkd_stderr.log

and without summary it is hard to say how many time is needed to make it work.