-
Notifications
You must be signed in to change notification settings - Fork 50
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
Installation fails on an Ubuntu Cosmic system #26
Comments
If ansible_distribution is Ubuntu the role will check if there is a dedicated repo matching the ansible_distribution_release. If this is not the case but the ansible_distribution_major_version is 18, the repo for the bionic release will be used.
Thanks! Good catch. Weird though, since ZeroTier has provided non-LTS release repos in the past. I like your workaround and tried expanding on it a little to eliminate the need to manually override the variable. Could you take a look at commit fd68894 in the develop branch and let me know if that would work for you? |
Thanks - that will work! |
@m4rcu5nl I think this is an issue again on Ubuntu 20.04.1 LTS. I get a similar error:
|
Hi Colby:
Zerotier doesn't have a focal repository. I've been using the bionic repo on focal and gorilla.
…-steve
---- On Fri, 20 Nov 2020 11:38:48 -0800 Colby Rogness <notifications@github.com> wrote ----
https://github.com/m4rcu5nl I think this is an issue again on Ubuntu 20.04.1 LTS. I get a similar error:
TASK [m4rcu5nl.zerotier-one : Overwrite Ubuntu release repo name] **************************************************************************************************************************************************************************
skipping: [...]
TASK [m4rcu5nl.zerotier-one : Re-gather facts] *********************************************************************************************************************************************************************************************
skipping: [...]
TASK [m4rcu5nl.zerotier-one : Add ZeroTier APT repository] *********************************************************************************************************************************************************************************
fatal: [...]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: E:The repository 'http://download.zerotier.com/debian/focal focal Release' does not have a Release file."}
—
You are receiving this because you modified the open/close state.
Reply to this email directly, #26 (comment), or https://github.com/notifications/unsubscribe-auth/ADKGZRTZTKBS2N5566W2I6LSQ3AURANCNFSM4GIMNHXQ.
|
On a Cosmic Cuttlefish system, role will fail when trying to install the deb package from ZerotierOne.
The core problem is the "Add ZerotTier APT repository" task which generates the repository string based on the ansible_distribution_release variable. Zerotier does not provide a repository for cosmic. (I'm guessing Zerotier will only provide repos for LTS releases),
I worked around the issue by adding a new variable - zerotier_apt_repo - which then permits one to override the generated value.
I'd be happy to submit my changes - including doc updates - as a patch or pull request if this solution is acceptable.
The text was updated successfully, but these errors were encountered: