Error Using Easy Install Script

Hi ,

I started encountering the error below again while trying to use the Easy Install script

Traceback (most recent call last):
  File "", line 498, in <module>
  File "", line 279, in install_bench
    run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
  File "", line 414, in run_playbook
    success = subprocess.check_call(args, cwd=playbooks_folder, stdout=log_stream, stderr=sys.stderr)
  File "/usr/lib/python3.6/", line 311, 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.

This was fixed with a PR a while ago but seems to be back now! Any suggestions pls?

Kind regards,

OS: Ubuntu 18.04

@wale True I faced the error too while using the install script a week ago. Had to install manually to get a successful install.

Opened a Github Issue:

Hoping the team can fix this on priority


Going through the logs, it seems the installation fails at the point below:

TASK [mariadb : include_tasks] *************************************************
task path: /tmp/.bench/bench/playbooks/roles/mariadb/tasks/main.yml:69
fatal: [localhost]: FAILED! => {
    "reason": "no action detected in task. This often indicates a misspelled module name, or incorrect module path.\n\nThe error appears to be in '/tmp/.bench/bench/playbooks/roles/mariadb/tasks/mysql_secure_installation.yml': line 14, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Set root Password\n  ^ here\n"

Anyone have any ideas how to get around this ?

Check Yarn Status