DataDog / ansible-datadog-callback

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

Avoid traceback when using ansible >=2.4 with '-i' option #27

Closed hush-hush closed 6 years ago

hush-hush commented 6 years ago

Changes

Starting from ansible 2.4 command line options are now received as a list. In ansible >=2.4 it's now technically possible to specify multiple times the '-i' option (even if the documentation say otherwise).

This commit merge all host while removing any extra comas.

This was reported on #23.