Open
Description
Hello,
Followed below steps in installing ndmtk.
[root@localhost collect_data]# pip install ndmtk
Collecting ndmtk
Using cached https://files.pythonhosted.org/packages/5d/12/649225c25b943b495e4b4c890542699fd68cbdc678ae5abbc1d4d883e35f/ndmtk-0.2.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): ansible>=2.0 in /usr/lib/python2.7/site-packages (from ndmtk)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/lib/python2.7/site-packages (from ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/lib64/python2.7/site-packages (from ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): cryptography in /usr/lib64/python2.7/site-packages (from ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in /usr/lib64/python2.7/site-packages (from jinja2->ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /usr/lib/python2.7/site-packages (from cryptography->ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.8 in /usr/lib/python2.7/site-packages (from cryptography->ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/site-packages (from cryptography->ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/site-packages (from cryptography->ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/site-packages (from cryptography->ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/lib/python2.7/site-packages (from cryptography->ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in /usr/lib64/python2.7/site-packages (from cryptography->ansible>=2.0->ndmtk)
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography->ansible>=2.0->ndmtk)
Installing collected packages: ndmtk
Running setup.py install for ndmtk ... done
Successfully installed ndmtk
When tried to run a sample playbook, getting below error.
[root@localhost collect_data]# ansible-playbook -i hosts site.yml
PLAY [Collect Common data] ***********************************************************************************************************************************************
TASK [collect_common : data collection from three network devices] *******************************************************************************************************
fatal: [192.168.43.89]: FAILED! => {"msg": "The module ndmtk was not found in configured module paths"}
fatal: [192.168.43.87]: FAILED! => {"msg": "The module ndmtk was not found in configured module paths"}
PLAY RECAP ***************************************************************************************************************************************************************
192.168.43.89 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
192.168.43.87 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
How to fix this issue?
Thanks,
Mohan
Metadata
Metadata
Assignees
Labels
No labels