--- - name: deploy motief application hosts: motief.sgeboers.nl remote_user: webapps tasks: - name: pull latest code ansible.builtin.git: repo: git@git.sgeboers.nl:sgeboers/motief.git dest: ~/motief clone: yes force: yes - name: sync dependencies with uv ansible.builtin.shell: cmd: uv sync chdir: ~/motief - name: stop existing streamlit process ansible.builtin.shell: cmd: pkill -f "streamlit run Home.py" || true - name: start streamlit ansible.builtin.shell: cmd: nohup uv run streamlit run Home.py --server.port=8501 --server.address=0.0.0.0 & chdir: ~/motief