enter image description here
ansible-playbook -v -i Monitoring/hosts Monitoring/main.yml
[WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting
Using /etc/ansible/ansible.cfg as config file
/etc/ansible/roles/Monitoring/hosts did not meet host_list requirements, check plugin documentation if this is unexpected
/etc/ansible/roles/Monitoring/hosts did not meet script requirements, check plugin documentation if this is unexpected
PLAY [ELK, metricbeat, elasticsearch, postgres, timeseries, kafka]
*********************************************************************************
TASK [Gathering Facts]
*****************************************************************************************************************************
fatal: [10.0.1.238]: FAILED! => {"changed": false, "module_stderr": "Shared connection to 10.0.1.238 closed.\r\n", "module_stdout": "\r\nTraceback (most recent call last):\r\n File \"/home/pavan/.ansible/tmp/ansible-tmp-1623847223.33-54213445117884/AnsiballZ_setup.py\", line 113, in <module>\r\n _ansiballz_main()\r\n File \"/home/pavan/.ansible/tmp/ansible-tmp-1623847223.33-54213445117884/AnsiballZ_setup.py\", line 105, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/home/pavan/.ansible/tmp/ansible-tmp-1623847223.33-54213445117884/AnsiballZ_setup.py\", line 48, in invoke_module\r\n imp.load_module('__main__', mod, module, MOD_DESC)\r\n File \"/usr/lib/python3.6/imp.py\", line 235, in load_module\r\n return load_source(name, filename, file)\r\n File \"/usr/lib/python3.6/imp.py\", line 170, in load_source\r\n module = _exec(spec, sys.modules[name])\r\n File \"<frozen importlib._bootstrap>\", line 618, in _exec\r\n File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\r\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n File \"/tmp/ansible_setup_payload_a7m6mpzi/__main__.py\", line 130, in <module>\r\nImportError: attempted relative import with no known parent package\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}[enter image description here][2]