From d20014fa38d3c49ca961ae93810565d31c5e96f8 Mon Sep 17 00:00:00 2001 From: Eduardo Benzecri Date: Thu, 25 Jan 2024 14:20:55 -0300 Subject: [PATCH] ansible-scylla-node: Prevents APT to be updated when gnupg2 is installed 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. Fixes: #329 Signed-off-by: Eduardo Benzecri --- ansible-scylla-node/tasks/Debian.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/ansible-scylla-node/tasks/Debian.yml b/ansible-scylla-node/tasks/Debian.yml index e13c0e86..5a1b0657 100644 --- a/ansible-scylla-node/tasks/Debian.yml +++ b/ansible-scylla-node/tasks/Debian.yml @@ -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 }}'"