Correct gnupg installation condition

This commit is contained in:
Matthew Daley 2022-06-18 00:08:44 +12:00
parent 8453301f62
commit 5d35e0208c

View File

@ -23,7 +23,7 @@
apt: apt:
name: gnupg name: gnupg
state: present 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. - name: Add Docker apt key.
apt_key: apt_key: