DataDog / ansible-datadog-callback

Ansible callback to get stats & events directly into Datadog http://datadoghq.com
MIT License
93 stars 47 forks source link

Allow to override the inventory host to pick the datadog variables #48

Closed filipenf closed 9 months ago

filipenf commented 5 years ago

Changes the way variables are loaded from the inventory. Instead of using only localhost, it will also try on the current hostname (useful for when running from the ansible controller) and also allows the user to override with the ANSIBLE_DATADOG_CALLBACK_INVENTORY_HOST environment variable.

thegreenrobot commented 5 years ago

I too am interested in this change.