ERPNext installation on Google Cloud platform

When running this command: sudo python --production --verbose

This is my output:

PLAY RECAP *****************************************************************************************************************************************************
localhost : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0

Traceback (most recent call last):
File “”, line 437, in
File “”, line 241, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “”, line 362, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’), stdout=log_stream, stderr=sys.stderr)
File “/usr/lib/python2.7/”, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-vvvv’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2

Please advise on how to proceed.

@yashvij, go throgh the following link. Thanks to @bkm for sharing very nice explaination.