Merge pull request #456 from jamesmyatt/no-gnupg-required

gnupg no longer prerequisite
This commit is contained in:
Jeff Geerling 2024-06-09 21:29:02 -05:00 committed by GitHub
commit c0ce31085c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,18 +19,6 @@
state: present
when: docker_add_repo | bool
- name: Ensure additional dependencies are installed (on Ubuntu < 20.04 and any other systems).
apt:
name: gnupg2
state: present
when: ansible_distribution != 'Ubuntu' or ansible_distribution_version is version('20.04', '<')
- name: Ensure additional dependencies are installed (on Ubuntu >= 20.04).
apt:
name: gnupg
state: present
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '>=')
- name: Ensure directory exists for /etc/apt/keyrings
file:
path: /etc/apt/keyrings