how to retry ansible-playbook

8,932 views
Skip to first unread message

杨超然

unread,
Feb 20, 2014, 2:17:34 AM2/20/14
to edx-...@googlegroups.com

when I manual install supervisor, how to retry the ansible-playbook to continue the intallation?


HanSu Kim

unread,
Feb 20, 2014, 5:07:09 PM2/20/14
to edx-...@googlegroups.com
I'm not quite sure I understand the question, but I think you are trying to install edX and it's failing, try running the update commands that are explained in https://github.com/edx/configuration/wiki/edX-Managing-the-Production-Stack and see if that helps.

杨超然

unread,
Feb 26, 2014, 9:59:23 AM2/26/14
to edx-...@googlegroups.com
Thank you for your replay! I just want to know how to  use @home ****.retry  continue a playbook. Thank you!

在 2014年2月21日星期五UTC+8上午6时07分09秒,HanSu Kim写道:

Yarko Tymciurak

unread,
Feb 26, 2014, 10:24:48 AM2/26/14
to 杨超然, edx-...@googlegroups.com
https://github.com/edx/configuration/wiki/edX-Managing-the-Production-Stack#wiki-updating-versions-using-edx-repos


update is just a shell script so it might be enlightening / help to read it a little.

Trinh Nguyen

unread,
Feb 27, 2014, 7:13:31 PM2/27/14
to edx-...@googlegroups.com
I got an issue with pyparsing installation, and use the following commands to retry (as in the error output):

# cd /var/tmp/configuration/playbook
# sudo ansible-playbook -c local ./edx_sandbox.yml -i "localhost," --limit @/root/edx_sandbox.retry

杨超然

unread,
Mar 21, 2014, 10:36:28 AM3/21/14
to edx-...@googlegroups.com
Thank you very much!This may be redo something.
I find a good example:

sudo ansible-playbook -clocal --limit "localhost:127.0.0.1" ../edx_sandbox.yml -i"x.bistu.edu.cn,localhost," -e 'EDXAPP_PREVIEW_LMS_BASE=xpreview.bistu.edu.cn  EDXAPP_LMS_BASE=x.bistu.edu.cn  EDXAPP_LMS_PREVIEW_NGINX_PORT=80 EDXAPP_CMS_NGINX_PORT=80 EDXAPP_LMS_NGINX_PORT=80 edx_platform_version=master '  --start-at-task="install python base-requirements"

在 2014年2月28日星期五UTC+8上午8时13分31秒,Trinh Nguyen写道:
Reply all
Reply to author
Forward
0 new messages