geerlingguy / internet-pi

Raspberry Pi config for all things Internet.
MIT License
4.27k stars 448 forks source link

Internet pi -Reg. #605

Open anilmanisha opened 2 months ago

anilmanisha commented 2 months ago

TASK [Gathering Facts] ***** fatal: [127.0.0.1]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3.12"}, "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"}

geerlingguy commented 2 months ago

It looks like it's asking for a sudo password - run the ansible command with -K so it asks for your sudo password.