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: