Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newer versions of Telegraf fail on Windows #138

Closed
billabongrob opened this issue Dec 18, 2020 · 0 comments
Closed

Newer versions of Telegraf fail on Windows #138

billabongrob opened this issue Dec 18, 2020 · 0 comments

Comments

@billabongrob
Copy link

Describe the bug
Telegraf appears to have changed their package structure in newer versions. Extracting version 1.10.0 which is the default in the playbook and downloads telegraf-1.10.0_windows_amd64.zip generates a directory name telegraf whereas downloading version 1.16.3 and file telgraf-1.16.3_windows_amd64.zip extracts to a directory named telegraf-1.16.3
Archive: telegraf-1.16.3_windows_amd64.zip
creating: telegraf-1.16.3/
inflating: telegraf-1.16.3/telegraf.conf
inflating: telegraf-1.16.3/telegraf.exe

This causes the step task, after Unzip File, named Configure Telegraf to fail in ansible-telegraf/tasks/configure_windows.yml
"msg": "Destination directory 'C:\Telegraf\telegraf' does not exist"}

Seems like this began in telegraf version 15?
Archive: ../telegraf-1.14.0_windows_amd64.zip
creating: telegraf/
inflating: telegraf/telegraf.exe
inflating: telegraf/telegraf.conf

Installation method/version
dj-wasabi.telegraf, 0.13.0

Ansible Version

ansible 2.9.13
  config file = /Users/heckelrj/.ansible.cfg
  configured module search path = ['/Users/heckelrj/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.8/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.8.2 (default, Mar 11 2020, 00:28:52) [Clang 11.0.0 (clang-1100.0.33.17)]

Targetted hosts
Concerns the following OS(es):

  • Windows

Expected behavior
Expect that the telegraf be exported into a directory named telegraf perhaps?

@billabongrob billabongrob changed the title Newer versions of Telegraf fails on Windows Newer versions of Telegraf fail on Windows Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants