From 2080f987f74db96da90c45f31a51a509a4db6cc8 Mon Sep 17 00:00:00 2001 From: spektr Date: Fri, 27 Nov 2026 07:00:30 +0100 Subject: [PATCH] =?UTF-8?q?CT=20114:=20Key-Pr=C3=BCfung=20in=20litecoin=5F?= =?UTF-8?q?access=20l=C3=A4uft=20auf=20dem=20Control-Node?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit stat/command der files/ssh-Pubkeys hatten ohne delegate_to auf dem Ziel geprüft (exists=false trotz vorhandener Datei). Jetzt delegate_to: localhost. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- .../ansible/roles/litecoin_access/tasks/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/proxmox/lxc/ct-114-litecoin-wallet/ansible/roles/litecoin_access/tasks/main.yml b/proxmox/lxc/ct-114-litecoin-wallet/ansible/roles/litecoin_access/tasks/main.yml index b04e3b0..e78e559 100644 --- a/proxmox/lxc/ct-114-litecoin-wallet/ansible/roles/litecoin_access/tasks/main.yml +++ b/proxmox/lxc/ct-114-litecoin-wallet/ansible/roles/litecoin_access/tasks/main.yml @@ -1,7 +1,8 @@ --- -- name: Require all three role-specific public keys in files/ssh +- name: Require all three role-specific public keys in files/ssh (control node) ansible.builtin.stat: path: "{{ item }}" + delegate_to: localhost loop: - "{{ litecoin_access_agent_public_key_file }}" - "{{ litecoin_access_admin_public_key_file }}" @@ -20,13 +21,14 @@ loop_control: label: "{{ item.item }}" -- name: Validate the public key files are real OpenSSH keys +- name: Validate the public key files are real OpenSSH keys (control node) ansible.builtin.command: argv: - /usr/bin/ssh-keygen - -l - -f - "{{ item }}" + delegate_to: localhost check_mode: false changed_when: false loop: