Skip to content

Commit

Permalink
Merge pull request #456 from jamesmyatt/no-gnupg-required
Browse files Browse the repository at this point in the history
gnupg no longer prerequisite
  • Loading branch information
geerlingguy committed Jun 10, 2024
2 parents 64b17dc + 9c4e21c commit c0ce310
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tasks/setup-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0ce310

Please sign in to comment.