This task succeeds:
- name: Install pip requirements
shell: /usr/local/pythonbrew/venvs/Python-${python_version}/venv/bin/pip install -r ${project_root}/current/requirements.pip
executable=/bin/bash
This task fails with error “Failed to find required executable virtualenv”:
- name: Install pip requirements
pip:
requirements=${project_root}/current/requirements.pip
virtualenv=/usr/local/pythonbrew/venvs/Python-${python_version}/venv
Any ideas how I can get the pip module command to succeed?