Lets start adding ansible trouble :)
parent
99a4b3274a
commit
c8da87bc48
|
@ -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`.
|
Loading…
Reference in New Issue