Skip to content

Instantly share code, notes, and snippets.

@vegitron
Created November 3, 2016 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vegitron/792b34b2e33c82aabf2817697a1a11bb to your computer and use it in GitHub Desktop.
Save vegitron/792b34b2e33c82aabf2817697a1a11bb to your computer and use it in GitHub Desktop.
diff --git a/playbooks/includes/django-managed-post-checkout.yml b/playbooks/includes/django-managed-post-checkout.yml
index 9110c0d..a268dd9 100644
--- a/playbooks/includes/django-managed-post-checkout.yml
+++ b/playbooks/includes/django-managed-post-checkout.yml
@@ -16,7 +16,7 @@
when: pip_upgrades_files is defined
- name: Install requirements with pip. May (probably will) take a while
- shell: source {{ base_dir }}/builds/{{current_build_value}}/bin/activate && PIP_ACCEL_CACHE={{ pip_accel_cache_dir }} pip-accel install -r {{ base_dir }}//builds/{{current_build_value}}/{{ item }} -i {{ pypi_mirror | default("https://pypi.s.uw.edu/root/pypi/+simple") }}
+ shell: source {{ base_dir }}/builds/{{current_build_value}}/bin/activate && cd {{ base_dir }}/builds/{{current_build_value}} && PIP_ACCEL_CACHE={{ pip_accel_cache_dir }} pip-accel install -r {{ base_dir }}//builds/{{current_build_value}}/{{ item }} -i {{ pypi_mirror | default("https://pypi.s.uw.edu/root/pypi/+simple"
with_items: "{{ pip_requirements_files }}"
environment:
PATH: "{{ path }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment