ERROR! The requested handler ‘restart network manager’ was not found in either the main handlers list nor in the listening handlers list

TASK [dns_caching : Add dnsmasq to network config] *****************************
task path: /tmp/.bench/playbooks/roles/dns_caching/tasks/main.yml:11
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c ‘echo ~root && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘( umask 77 && mkdir -p “echo /root/.ansible/tmp/ansible-t mp-1571783933.1659474-75121343147947” && echo ansible-tmp-1571783933.1659474-751213431 47947=“echo /root/.ansible/tmp/ansible-tmp-1571783933.1659474-75121343147947” ) && s leep 0’
Using module file /usr/local/lib/python3.6/dist-packages/ansible/modules/files/lineinfil e.py
<127.0.0.1> PUT /home/support/.ansible/tmp/ansible-local-10548940ohyh_/tmp8u3nl1wz TO /r oot/.ansible/tmp/ansible-tmp-1571783933.1659474-75121343147947/AnsiballZ_lineinfile.py
<127.0.0.1> EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1571783933.1659474 -75121343147947/ /root/.ansible/tmp/ansible-tmp-1571783933.1659474-75121343147947/Ansiba llZ_lineinfile.py && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1571783933. 1659474-75121343147947/AnsiballZ_lineinfile.py && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘rm -f -r /root/.ansible/tmp/ansible-tmp-1571783933.1659474- 75121343147947/ > /dev/null 2>&1 && sleep 0’
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
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 no n-zero exit status 1

Am using Ubuntu 18.4

I tried already with Ubuntu 18.04 but nothing about the ‘network manager’
Please see the same error here

Are you using minimal or desktop Ubuntu 18.04?

Am using minimal with desktop install.

I notice this on GitHub and it still open.
https://github.com/frappe/bench/issues/765

Not sure if there was fix and it not updated.

well, as I’m not using any desktop environment, I think your issue about the ‘network manager’ becomes additional so even though once cleared, installer will stuck with the issue mentioned above as no ‘network manager’ in minimal version.