Beta Development Setup failure

Hi, just trying to setup a new development platfom using the Beta Dev Setup on a clean Ubuntu 14.04 install, but the installer fails with the following error:-

TASK [Install wkhtmltopdf deb] *************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: ‘prepared’
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “module_stderr”: “Traceback (most recent call last):\n File “/tmp/ansible_bCcKtd/”, line 842, in \n main()\n File “/tmp/ansible_bCcKtd/”, line 798, in main\n force=force_yes, dpkg_options=p[‘dpkg_options’])\n File “/tmp/ansible_bCcKtd/”, line 538, in install_deb\n diff[“prepared”] += ‘\n\n’ + out\nKeyError: ‘prepared’\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “parsed”: false}
to retry, use: --limit @develop/install.retry

PLAY RECAP *********************************************************************
localhost : ok=11 changed=6 unreachable=0 failed=1

Traceback (most recent call last):
File “”, line 250, in
File “”, line 66, in install_bench
run_playbook(‘develop/install.yml’, sudo=True, user=args.user, extra_args=vars(args))
File “”, line 205, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(tmp_bench_repo, ‘playbooks’))
File “/usr/lib/python2.7/”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘develop/install.yml’, ‘-e’, ‘@/home/administrator/extra_vars.json’, ‘–become’, ‘–become-user=administrator’]’ returned non-zero exit status 2

At this stage nothing is created in /usr/local/frappe nor in the home directory of the user.



This problem is with the latest version of Ansible (Ansible 2.1

You will have to perform following steps,

  • sudo yum uninstall ansible
  • sudo yum install 'ansible=='

And then re-run the beta installer again.


Hi @shreyasp

I simply followed the Beta Development Setup instructions at

I’ll give it another go with the Ansible ‘update’ and let you know.