mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
Correct gnupg installation condition
This commit is contained in:
parent
8453301f62
commit
5d35e0208c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user