dj-wasabi / ansible-telegraf

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

Add Windows feature of upgrade agents #146

Closed PeterSzegedi closed 3 years ago

PeterSzegedi commented 3 years ago

First of all, thanks for the great solution, it saved me a huge headache in the first place. I would appreciate a thorough review as I am just dabbling with Ansible. The molecule tests run successfully for me.

Description of PR This PR improves the Windows installation by getting rid of the flag file and checking if the service is in place. Also it will compare the version of the desired installation and the current version of the machine. If it does match, it will leave the installation in peace, otherwise it will update the system. The change also contains log rotation for the Windows machines, which was unavaiable at the time of the telegraf version 1.10

Type of change Feature Pull Request

Fixes an issue

dj-wasabi commented 3 years ago

Thanks! 👍