Commit 51686b9c by Feanil Patel

Don't use ansible module to install xqwatcher requirements.

There is a bug in the pip module in the current version of ansible that makes it not
work with python3 virtualenvs.  The bug is fixed in ansible 2.3.2.
parent f49b2b79
......@@ -85,11 +85,7 @@
- install:code
- name: Install course specific python requirements
pip:
requirements: "{{ xqwatcher_app_data }}/{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}-requirements.txt"
virtualenv: "{{ xqwatcher_app_dir }}/venvs/{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
state: present
extra_args: "{{ XQWATCHER_PIP_EXTRA_ARGS }}"
shell: "{{ xqwatcher_app_dir }}/venvs/{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}/bin/pip install {{ XQWATCHER_PIP_EXTRA_ARGS }} -r {{ xqwatcher_app_data }}/{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}-requirements.txt"
with_items: "{{ XQWATCHER_COURSES }}"
tags:
- install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment