Lets start adding ansible trouble :)

main
Gašper Spagnolo 2022-09-27 15:14:17 +02:00
parent 99a4b3274a
commit c8da87bc48
1 changed files with 14 additions and 0 deletions

14
ansible.md Normal file
View File

@ -0,0 +1,14 @@
# Ansible
### Errors:
#### E1:
If you get error like that:
```bash
TASK [Gathering Facts] **************************************************************************************************************************************************************
fatal: [localhost]: 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"}
```
then issue this command: `ln -s /usr/bin/python3 /usr/bin/python`.