splunk / splunk-ansible

Ansible playbooks for configuring and managing Splunk Enterprise and Universal Forwarder deployments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error out when dynamic inventory script fails

nwang92 opened this issue · comments

Per splunk/docker-splunk#385, we should error out when environ.py fails to parse a proper inventory.

Currently, if the dynamic inventory script fails we still proceed through the ansible playbook process and it usually fails cryptically there. This would improve error reporting and triaging of issues.