gnupg no longer prerequisite

See 811f32afe5
This commit is contained in:
James Myatt 2024-06-09 23:15:02 +01:00
parent 64b17dc423
commit 9c4e21caec

View File

@ -19,18 +19,6 @@
state: present state: present
when: docker_add_repo | bool 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 - name: Ensure directory exists for /etc/apt/keyrings
file: file:
path: /etc/apt/keyrings path: /etc/apt/keyrings