Don't push venv to prod.
This commit is contained in:
parent
6009c45431
commit
83a532db5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue