dj-wasabi / ansible-telegraf

Installing and configuring Telegraf via Ansible for RedHat/Debian/Ubuntu/Windows/Suse.
MIT License
134 stars 116 forks source link

Fix the Influxdb repo for "hybrid" debian distros (like "jessie/sid") #11

Closed Ismael closed 8 years ago

Ismael commented 8 years ago

Use ansible_lsb.codename to set the path to the influxdb repo because "hybrid" distros (when you have testing+unstable, for example) don't work otherwise. This requires LSB, which isn't always installed. If it isn't, it won't work on hybrid distros.

dj-wasabi commented 8 years ago

Thanks! (Error is not PR related, so I'm accepting it ;-))