diff --git a/tasks/install/Debian.yml b/tasks/install/Debian.yml index 1a236db..25c1d47 100644 --- a/tasks/install/Debian.yml +++ b/tasks/install/Debian.yml @@ -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