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: