From 5d35e0208c1997e5248d9d03c6bea2dc5ac58679 Mon Sep 17 00:00:00 2001 From: Matthew Daley Date: Sat, 18 Jun 2022 00:08:44 +1200 Subject: [PATCH] Correct gnupg installation condition --- tasks/setup-Debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index cc444ca..e0d7037 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -23,7 +23,7 @@ apt: name: gnupg state: present - when: ansible_distribution == 'Ubuntu' or ansible_distribution_version is version('20.04', '>=') + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '>=') - name: Add Docker apt key. apt_key: