Fix Ubuntu Focal install

Overwrite Ubuntu Focal repo with Debian Buster mimicking the zerotiers own installer
pull/39/head
Hannu Teulahti 2021-02-06 13:00:11 +02:00
parent ca3cc077d6
commit 1def93f756
1 changed files with 13 additions and 0 deletions

View File

@ -24,6 +24,19 @@
- ansible_facts['distribution_major_version'] == "18"
- release_repo.status == 404
- block:
- name: Overwrite Ubuntu Focal release repo name
set_fact:
zerotier_deb_release_repo: buster
- name: Re-gather facts
setup: ~
when:
- ansible_facts['distribution'] == "Ubuntu"
- ansible_facts['distribution_release'] == "focal"
- release_repo.status == 404
- name: Add ZeroTier APT repository
apt_repository:
repo: deb {{ zerotier_download_base_url }}/debian/{{ zerotier_deb_release_repo }} {{ zerotier_deb_release_repo }} main