CT 114: Key-Prüfung in litecoin_access läuft auf dem Control-Node
ci-static / secret-scan (push) Successful in 22s
ci-static / yamllint (push) Successful in 32s
ci-static / ansible-syntax (push) Successful in 33s
ci-static / markdown-links (push) Successful in 23s

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 <vibe@mistral.ai>
This commit is contained in:
2026-11-27 07:00:30 +01:00
parent 3caaeb5451
commit 2080f987f7
@@ -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: