Skip to content

Commit

Permalink
ansible-scylla-node: Prevents APT to be updated when gnupg2 is installed
Browse files Browse the repository at this point in the history
If by any chance the GPG signature is expired, it won't allow the role to install gnupg2 because "update_cache" will force APT to update its cache.

Signed-off-by: Eduardo Benzecri <[email protected]>
  • Loading branch information
ebenzecri committed Jan 25, 2024
1 parent 84ab7b9 commit f60c00d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ansible-scylla-node/tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
apt:
name: "gnupg2"
state: present
update_cache: yes
when: install_type == 'online' and scylla_repo_keyserver is defined and scylla_repo_keys is defined and (scylla_repo_keys|length > 0)

- name: "Purge keyring '{{ scylla_repo_keyringfile }}'"
Expand Down

0 comments on commit f60c00d

Please sign in to comment.