-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Error installing on Ubuntu/Debian with a version other than latest #95
Comments
hm, with |
I have experienced the same issue. The workaround in my case was to use instead |
@sk1u You are using Debian or Ubuntu as well? It seems the apt repository containing Telegraf only contains the latest available version. With every new Telegraf version, the old one is removed from their apt repository and thus new installation fails. I've created an issue on the Telegraf project: |
That is right, it is a Debian 9 host. Your explanation makes sense, thank you for that. |
Just wanted to chip in, that using I had the previous patch version before, and when I ran the role I saw this:
Do note that I was able to run |
This is still happening, even on "online" installs. This entire step is contradictory (the name is "==latest", the when is "!= latest"). It always sets the name, unless 'latest' is not set... ansible-telegraf/tasks/Debian.yml Lines 3 to 7 in 2687513
When combined with this, you can only use the defaults (which are a minor version behind 1.10 vs 1.11.5) because the destination "telegraf_agent_package" needs to be a full file path. ansible-telegraf/tasks/Debian.yml Lines 72 to 77 in 2687513
|
When I set my version to 1.11.5 the "telegraf_agent_package" variable gets set to "telegraf=1.11.5-1" which is not a path as required by the get_url module. These could be a typo: ansible-telegraf/tasks/Debian.yml Line 7 in 2687513
|
Changing the conditional to match the task description fixed my problems (per the pull request I created). This pull request is a simple 1 character change which allows most installs to work, it should be an easy approval: |
Describe the bug
After upgrade to version 0.12 of the role all my provision failed to download telegraf from repo
Installation method/version
Ansible Version
Targetted hosts
Concerns the following OS(es):
Expected behavior
Additional context
My .yml
Output
The text was updated successfully, but these errors were encountered: