Merge pull request #359 from megabug/fix-gnupg-condition

Correct gnupg installation condition
This commit is contained in:
Jeff Geerling 2022-06-17 10:24:50 -05:00 committed by GitHub
commit f583d39a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: