From c8da87bc48a218ef4ff24db810f5605baee89dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Spagnolo?= Date: Tue, 27 Sep 2022 15:14:17 +0200 Subject: [PATCH] Lets start adding ansible trouble :) --- ansible.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ansible.md diff --git a/ansible.md b/ansible.md new file mode 100644 index 0000000..6f38d61 --- /dev/null +++ b/ansible.md @@ -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`.