dj-wasabi / ansible-telegraf

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

Test if LSB codename exists before using it #35

Closed tszym closed 7 years ago

tszym commented 7 years ago

Testing Debian with Molecule, Ansible will see the ansible_lsb defined but the codename attribute is not. Testing its definition will prevent access to an undifined attribute.

dj-wasabi commented 7 years ago

Thanks!