d3vilh / raspberry-gateway

Simple yet powerful home gateway environment with Pi-Hole +Unbound, VPN, Torrent client and Internet monitoring, all managed by Portainer.
https://github.com/d3vilh/raspberry-gateway
Apache License 2.0
118 stars 14 forks source link

Error while webinstall: "sudo: a password is required" #46

Open bkrajendra opened 2 days ago

bkrajendra commented 2 days ago

I have custom user setup on the raspberry pi and do not have default pi user. running ./webinstall throwing following error:

TASK [Gathering Facts] *********************************************************
fatal: [raspberry_gateway]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"}, "failed": true, "module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}
bkrajendra commented 2 days ago

Resolved the issue with: sudo ./websintall and entered password at the prompt. Need to add this in the wiki/documentation.