Don't push venv to prod.

This commit is contained in:
Julien Palard 2023-12-20 15:24:32 +01:00
parent 6009c45431
commit 83a532db5b
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,9 @@
ansible.posix.synchronize:
src: "{{ inventory_dir }}/../"
dest: /opt/website/src/
rsync_opts:
- "--exclude=.venv"
- "--exclude=venv"
notify: restart website
- name: Creates a /opt/website/venv for virtual environments