From 187c59d6b9d94c47c66e375e9e1ad119c3ac2192 Mon Sep 17 00:00:00 2001 From: ske087 Date: Fri, 24 Apr 2026 16:24:15 +0300 Subject: [PATCH] fix: pkill self-kill bug in migrate_to_wmt - use python3 pattern + ignore_errors --- ansible/playbooks/migrate_to_wmt.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/playbooks/migrate_to_wmt.yml b/ansible/playbooks/migrate_to_wmt.yml index c329531..8ca7682 100644 --- a/ansible/playbooks/migrate_to_wmt.yml +++ b/ansible/playbooks/migrate_to_wmt.yml @@ -96,7 +96,8 @@ # ── 7. Kill any running Prezenta app.py before renaming ────────────── - name: Kill any process running from Prezenta app.py - shell: pkill -f "Desktop/Prezenta/app.py" || true + shell: pkill -f "python3.*Prezenta/app.py" + ignore_errors: true changed_when: false - name: Wait a moment for the process to terminate