From 0bd1c08cb2cc04638d5da1e1129959d62062f6de Mon Sep 17 00:00:00 2001 From: Sven Geboers Date: Sat, 28 Mar 2026 21:04:49 +0100 Subject: [PATCH] fix(ansible): ignore pkill errors, add motions.db sync task --- ansible/deploy.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml index 20fdf3b..0d87887 100644 --- a/ansible/deploy.yaml +++ b/ansible/deploy.yaml @@ -39,6 +39,13 @@ - name: stop existing streamlit process ansible.builtin.shell: cmd: pkill -f "streamlit run Home.py" || true + ignore_errors: yes + + - name: sync motions.db to server + ansible.builtin.copy: + src: ../data/motions.db + dest: /home/webapps/motief/data/motions.db + mode: '0644' - name: start streamlit ansible.builtin.shell: