looks like your installation is messed up.
What does 'ansible --version' say?

On Wed, 19 Jan 2022 at 05:40, Kevin Y <[email protected]> wrote:

> Hi I am a little new to ansible. Anyone can take a look at the below why
> the command cannot go through? Thank you!
>
>
> admin1@Len:~$ *ansible lab-hosts -m raw -a "show run" -u admin -k | grep*
> 'hostname\| system mtu'
> Traceback (most recent call last):
>   File "/usr/bin/ansible", line 34, in <module>
>     from ansible import context
>   File "/usr/local/lib/python3.8/dist-packages/ansible/context.py", line
> 18, in <module>
>     from ansible.module_utils.common._collections_compat import Mapping,
> Set
> ModuleNotFoundError: No module named 'ansible.module_utils'
>
> --
> 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/c3cebbc6-937c-46d7-b316-d950f7d9cb9dn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/c3cebbc6-937c-46d7-b316-d950f7d9cb9dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
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/CAL8fbwP8fsKq0fY5Qq7Y%3D8ye%3D4Qj-yBJxfuEWo8pdSS%2B6_44rQ%40mail.gmail.com.

Reply via email to