From b86bc4c73dbfbb4f64378cea36935042ecab94ca Mon Sep 17 00:00:00 2001 From: Marcus Meurs Date: Fri, 7 Dec 2018 23:35:32 +0100 Subject: [PATCH] Rearrange conditionals release_repo.status needs to be checked after distribution. --- tasks/install/Debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install/Debian.yml b/tasks/install/Debian.yml index daf9b2e..cf3636e 100644 --- a/tasks/install/Debian.yml +++ b/tasks/install/Debian.yml @@ -19,9 +19,9 @@ setup: ~ when: - - release_repo.status == 404 - ansible_facts['distribution'] == "Ubuntu" - ansible_facts['distribution_major_version'] == "18" + - release_repo.status == 404 - name: Add ZeroTier APT repository apt_repository: