fix(ansible): ignore pkill errors, add motions.db sync task
This commit is contained in:
@@ -39,6 +39,13 @@
|
|||||||
- name: stop existing streamlit process
|
- name: stop existing streamlit process
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: pkill -f "streamlit run Home.py" || true
|
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
|
- name: start streamlit
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
|
|||||||
Reference in New Issue
Block a user