At first it gave me this error.
TASK: [common | create edx virtualenv directory] ******************************
ok: [localhost]
TASK: [common | create the edx virtualenv directory initial contents] *********
failed: [localhost] => {"cmd": ["/usr/local/bin/virtualenv", "/opt/edx", "--distribute"], "failed": true, "item": "", "rc": 2}
msg: [Errno 2] No such file or directory
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/edx_sandbox.retry
localhost : ok=26 changed=0 unreachable=0 failed=1
I noticed that the virtual env was installed in /usr/bin/virtualenv so I moved the binary with `cp`.
After that most of the tasks proceeded well until I hit this error. Not really sure how to handle this.
Please let me know what the problem could be here. Thanks.
TASK: [fail virtualenv_user required for role] ********************************
failed: [localhost] => {"failed": true, "item": ""}
msg: Failed as requested from task
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/edx_sandbox.retry
localhost : ok=191 changed=58 unreachable=0 failed=1