Huawei ne error by playbook run

252 views
Skip to first unread message

Azadeh Amirhosseini

unread,
Jun 12, 2023, 4:27:22 AM6/12/23
to Ansible Project
Hi All,
To run my playbook which connects to a Huawei ne as its host, i get bellow error message. Any idea how can i resolve it please:

TASK [Commands NE Huawei] ******************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'ansible.module_utils.common.yaml'
failed: [192.168.100.150] (item=dir) => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "dir",
    "rc": 1
}

Hicham Shakou

unread,
Jul 17, 2023, 9:40:05 AM7/17/23
to Ansible Project
i have same issue but with molecule using vagrant!!

Todd Lewis

unread,
Jul 18, 2023, 10:39:22 AM7/18/23
to Ansible Project
Did you ever get resolution on this?

"ansible.module_utils.common" is not the FQCN for an Ansible module. Rather, it's a python class path for modules themselves to import components needed to implement expected module behavior. Unless you are writing your own modules in python, "ansible.module_utils.common" will not be of interest to you.

Hicham Shakou

unread,
Jul 19, 2023, 9:15:07 AM7/19/23
to ansible...@googlegroups.com
Hi,
yes with the following workaround , because there is an issue for vagrant plugin

https://github.com/ansible-community/molecule-plugins/issues/174

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/xE7DWBE8-qw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6c7b6efb-055d-4fd5-abb6-2dd63cb8757bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages