Closed ebenzecri closed 10 months ago
Please, file a GH issue describing the issue that this PR is fixing. Please, make sure to provide steps to reproduce.
Also note that CI, has failed too.
@ebenzecri any progress with fixing the CI? You are using a gpg
executable that is not installed in the Molecule docker image - hence the failure.
TASK [ansible-scylla-node : Remove an apt key by id previously added] **********
failed: [node1] (item=d0a112e067426ab2) => {"ansible_loop_var": "item", "changed": false, "item": "d0a112e067426ab2", "msg": "Failed to find required executable \"gpg\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
failed: [node3] (item=d0a112e067426ab2) => {"ansible_loop_var": "item", "changed": false, "item": "d0a112e067426ab2", "msg": "Failed to find required executable \"gpg\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
failed: [node2] (item=d0a112e067426ab2) => {"ansible_loop_var": "item", "changed": false, "item": "d0a112e067426ab2", "msg": "Failed to find required executable \"gpg\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
failed: [node1] (item=5e08fbd8b5d6ec9c) => {"ansible_loop_var": "item", "changed": false, "item": "5e08fbd8b5d6ec9c", "msg": "Failed to find required executable \"gpg\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
failed: [node3] (item=5e08fbd8b5d6ec9c) => {"ansible_loop_var": "item", "changed": false, "item": "5e08fbd8b5d6ec9c", "msg": "Failed to find required executable \"gpg\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
failed: [node2] (item=5e08fbd8b5d6ec9c) => {"ansible_loop_var": "item", "changed": false, "item": "5e08fbd8b5d6ec9c", "msg": "Failed to find required executable \"gpg\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}
Before this patch, if a key with a specific ID already installed was updated (because it was expired, for example), the key won't be locally updated causing and APT failure.
This patch ensures the usage of the latest apt key available.