From 9724ccd378250eac56729b1a98b1742c6d403bf4 Mon Sep 17 00:00:00 2001 From: spektr Date: Fri, 27 Nov 2026 18:57:30 +0100 Subject: [PATCH] CT 114: Tor-Bootstrap-Check liest komplettes Journal, Debug robust gegen leere Ausgabe -n 500 lieferte nach laengerem Betrieb keine Bootstrapped-Zeile mehr und '| last' brach auf leerer Liste. Jetzt unbegrenztes Journal + default-Filter. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- .../ansible/roles/litecoin_tor/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox/lxc/ct-114-litecoin-wallet/ansible/roles/litecoin_tor/tasks/main.yml b/proxmox/lxc/ct-114-litecoin-wallet/ansible/roles/litecoin_tor/tasks/main.yml index 982e2ce..7bc88fd 100644 --- a/proxmox/lxc/ct-114-litecoin-wallet/ansible/roles/litecoin_tor/tasks/main.yml +++ b/proxmox/lxc/ct-114-litecoin-wallet/ansible/roles/litecoin_tor/tasks/main.yml @@ -40,7 +40,7 @@ - name: Read the Tor bootstrap status from the journal (tor@default) ansible.builtin.shell: | - /usr/bin/journalctl -u tor@default.service --no-pager -n 500 --output=cat \ + /usr/bin/journalctl -u tor@default.service --no-pager --output=cat \ | /usr/bin/grep -E 'Bootstrapped [0-9]+%' | tail -n 1 args: executable: /bin/bash @@ -52,5 +52,5 @@ - name: Report the Tor bootstrap phase ansible.builtin.debug: - msg: "{{ litecoin_tor_bootstrap.stdout_lines | default(['check mode: skipped']) | last }}" + msg: "{{ litecoin_tor_bootstrap.stdout_lines | default(['check mode: skipped']) | last | default('no bootstrap line in journal', true) }}" when: not ansible_check_mode