Hi seems its failing elsewhere as well
TASK [bench : python3 bench init for develop] **********************************
skipping: [localhost]
TASK [bench : python2 bench init for production] *******************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["bench", "init", "/home/frappe/frappe-bench", "--frappe-branch", "master"], "delta": "0:00:23.110291", "end": "2018-04-15 06:20:35.064473", "msg": "non-zero return code", "rc": 1, "start": "2018-04-15 06:20:11.954182", "stderr": "INFO:bench.utils:virtualenv -q env -p /usr/bin/python\nINFO:bench.utils:./env/bin/pip -q install --upgrade pip\nINFO:bench.utils:./env/bin/pip -q install wheel\nINFO:bench.utils:./env/bin/pip -q install six\nINFO:bench.utils:./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit\nINFO:bench.app:getting app frappe\nINFO:bench.utils:git clone https://github.com/frappe/frappe.git --branch master --origin upstream\nCloning into 'frappe'...\nINFO:bench.app:installing frappe\nINFO:bench.utils:/home/frappe/frappe-bench/env/bin/pip install -q -e /home/frappe/frappe-bench/apps/frappe --no-cache-dir\nCommand \"python setup.py egg_info\" failed with error code 1 in /home/frappe/frappe-bench/apps/frappe/\nTraceback (most recent call last):\n File \"/usr/local/bin/bench\", line 11, in <module>\n load_entry_point('bench', 'console_scripts', 'bench')()\n File \"/home/frappe/.bench/bench/cli.py\", line 40, in cli\n bench_command()\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 722, in __call__\n return self.main(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 697, in main\n rv = self.invoke(ctx)\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 1066, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 895, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 535, in invoke\n return callback(*args, **kwargs)\n File \"/home/frappe/.bench/bench/commands/make.py\", line 30, in init\n python \t\t = python)\n File \"/home/frappe/.bench/bench/utils.py\", line 75, in init\n get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)\n File \"/home/frappe/.bench/bench/app.py\", line 133, in get_app\n install_app(app=app_name, bench_path=bench_path, verbose=verbose)\n File \"/home/frappe/.bench/bench/app.py\", line 164, in install_app\n find_links=find_links))\n File \"/home/frappe/.bench/bench/utils.py\", line 153, in exec_cmd\n raise CommandFailedError(cmd)\nbench.utils.CommandFailedError: /home/frappe/frappe-bench/env/bin/pip install -q -e /home/frappe/frappe-bench/apps/frappe --no-cache-dir", "stderr_lines": ["INFO:bench.utils:virtualenv -q env -p /usr/bin/python", "INFO:bench.utils:./env/bin/pip -q install --upgrade pip", "INFO:bench.utils:./env/bin/pip -q install wheel", "INFO:bench.utils:./env/bin/pip -q install six", "INFO:bench.utils:./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit", "INFO:bench.app:getting app frappe", "INFO:bench.utils:git clone https://github.com/frappe/frappe.git --branch master --origin upstream", "Cloning into 'frappe'...", "INFO:bench.app:installing frappe", "INFO:bench.utils:/home/frappe/frappe-bench/env/bin/pip install -q -e /home/frappe/frappe-bench/apps/frappe --no-cache-dir", "Command \"python setup.py egg_info\" failed with error code 1 in /home/frappe/frappe-bench/apps/frappe/", "Traceback (most recent call last):", " File \"/usr/local/bin/bench\", line 11, in <module>", " load_entry_point('bench', 'console_scripts', 'bench')()", " File \"/home/frappe/.bench/bench/cli.py\", line 40, in cli", " bench_command()", " File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 722, in __call__", " return self.main(*args, **kwargs)", " File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 697, in main", " rv = self.invoke(ctx)", " File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 1066, in invoke", " return _process_result(sub_ctx.command.invoke(sub_ctx))", " File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 895, in invoke", " return ctx.invoke(self.callback, **ctx.params)", " File \"/usr/local/lib/python2.7/dist-packages/click/core.py\", line 535, in invoke", " return callback(*args, **kwargs)", " File \"/home/frappe/.bench/bench/commands/make.py\", line 30, in init", " python \t\t = python)", " File \"/home/frappe/.bench/bench/utils.py\", line 75, in init", " get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)", " File \"/home/frappe/.bench/bench/app.py\", line 133, in get_app", " install_app(app=app_name, bench_path=bench_path, verbose=verbose)", " File \"/home/frappe/.bench/bench/app.py\", line 164, in install_app", " find_links=find_links))", " File \"/home/frappe/.bench/bench/utils.py\", line 153, in exec_cmd", " raise CommandFailedError(cmd)", "bench.utils.CommandFailedError: /home/frappe/frappe-bench/env/bin/pip install -q -e /home/frappe/frappe-bench/apps/frappe --no-cache-dir"], "stdout": "Already using interpreter /usr/bin/python\n('installing', u'frappe')", "stdout_lines": ["Already using interpreter /usr/bin/python", "('installing', u'frappe')"]}
to retry, use: --limit @/tmp/.bench/playbooks/site.retry
PLAY RECAP *********************************************************************
localhost : ok=69 changed=17 unreachable=0 failed=1
Traceback (most recent call last):
File "install.py", line 396, in <module>
install_bench(args)
File "install.py", line 113, in install_bench
run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
File "install.py", line 329, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=frappe']' returned non-zero exit status 2