From 2ad47b131561494b2b33b7829a87ec26bde0596b Mon Sep 17 00:00:00 2001 From: Aleksey Chirkin Date: Thu, 11 Feb 2021 12:27:22 +0300 Subject: [PATCH] Ubuntu 20.04 support --- tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index de3acdc..47aad4c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,7 +2,9 @@ - name: Check Ubuntu version fail: msg: '{{ ansible_distribution_version }} is not an acceptable version of Ubuntu for this role' - when: not ansible_distribution_version is version_compare(18.04, '=') + when: + - not ansible_distribution_version is version_compare(18.04, '=') + - not ansible_distribution_version is version_compare(20.04, '=') - name: Ensure depdencies are installed apt: