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
122 stars 15 forks source link

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

Open bkrajendra opened 3 weeks ago

bkrajendra commented 3 weeks 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 3 weeks ago

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