Hello,
I am trying to do the easy install on a vultr centos 7 VPS. I successfully run the first command “python install.py --develop --user frappe”. But then, when i try to run “sudo python install.py --production” I’m getting this error:
TASK [Change default shell to bash] *************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “chsh frappe -s $(which bash)”, “delta”: “0:00:00.009756”, “end”: “2018-07-08 12:16:14.674247”, “msg”: “non-zero return code”, “rc”: -11, “start”: “2018-07-08 12:16:14.664491”, “stderr”: “”, “stderr_lines”: [], “stdout”: “”, “stdout_lines”: []}
to retry, use: --limit @/tmp/.bench/playbooks/create_user.retryPLAY RECAP **************************************************************************************************************************************************
localhost : ok=4 changed=1 unreachable=0 failed=1Traceback (most recent call last):
File “install.py”, line 417, in
install_bench(args)
File “install.py”, line 100, in install_bench
run_playbook(‘create_user.yml’, extra_vars=extra_vars)
File “install.py”, line 338, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib64/python2.7/subprocess.py”, line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘create_user.yml’, ‘-e’, ‘@/tmp/extra_vars.json’]’ returned non-zero exit status 2
Please advise.
Regards,
Nuno