Error when installing using the Easy Install script

Hi, I’m trying to install ERPNext on a Ubuntu 18.04 installation but I get the following error when using the Easy Install script:

ERROR! The requested handler 'restart network manager' was not found in either the main handlers list nor in the listening handlers list
Traceback (most recent call last):
  File "install.py", line 413, in <module>
    install_bench(args)
  File "install.py", line 135, in install_bench
    run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
  File "install.py", line 327, in run_playbook
    success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
  File "/usr/lib/python2.7/subprocess.py", 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 1

This happens after it attempts to add dnsmasq to network config. Anyone have any ideas? I’m brand new to ERPNext and don’t really know what I’m doing but any help is appreciated.

What is the operating environment, installation process you followed and at what stage did you receive this message?

i was having the same issue in debian 9, maybe works for you, try with this: