What is the output of 'ansible --version' ?

On Fri, 3 Dec 2021 at 07:40, Shivani Arora <[email protected]> wrote:

> Hi Team,
>
> We are using lambda_facts module of ansible to fetch existing aws lambda
> details but facing below issue while running -
>
>
> TASK [Get lambda info if it already exists]
> **************************************************************************
> Thursday 02 December 2021  22:06:49 -0800 (0:00:00.339)       0:00:24.123
> *****
> fatal: [localhost]: FAILED! => {"changed": false, "module_stderr":
> "__main__:95: RuntimeWarning: Parent module 'ansible.modules' not found
> while handling absolute import\n__main__:96: RuntimeWarning: Parent module
> 'ansible.modules' not found while handling absolute import\n__main__:97:
> RuntimeWarning: Parent module 'ansible.modules' not found while handling
> absolute import\n__main__:98: RuntimeWarning: Parent module
> 'ansible.modules' not found while handling absolute import\n__main__:99:
> RuntimeWarning: Parent module 'ansible.modules' not found while handling
> absolute import\n__main__:100: RuntimeWarning: Parent module
> 'ansible.modules' not found while handling absolute import\n__main__:104:
> RuntimeWarning: Parent module 'ansible.modules' not found while handling
> absolute import\nTraceback (most recent call last):\n  File
> \"master:/ws/shivania-sjc/qa/bender/ansible/playbooks/mitogen/ansible_mitogen/runner.py\",
> line 975, in _run\n    self._run_code(code, mod)\n  File
> \"master:/ws/shivania-sjc/qa/bender/ansible/playbooks/mitogen/ansible_mitogen/runner.py\",
> line 941, in _run_code\n    exec('exec code in vars(mod)')\n  File
> \"<string>\", line 1, in <module>\n  File
> \"master:/usr/lib/python2.7/site-packages/ansible/modules/cloud/amazon/lambda_facts.py\",
> line 401, in <module>\n  File
> \"master:/usr/lib/python2.7/site-packages/ansible/modules/cloud/amazon/lambda_facts.py\",
> line 389, in main\nAttributeError: 'module' object has no attribute
> 'config_details'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee
> stdout/stderr for the exact error", "rc": 1}
>
> Please let me know how we can resolve this.
>
> Regards,
> Shivani
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/2a820d5c-9f2d-4a3f-9b84-6515ca1978d2n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/2a820d5c-9f2d-4a3f-9b84-6515ca1978d2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMm2qgg%3DHitDf2Rp3jSC4HRRB2mpHN1-yixmCgsix4Lzg%40mail.gmail.com.

Reply via email to