I am trying to run *ntc_show_command *module but getting the following
error:
{"changed": false, "failed": true, "msg": "This module requires TextFSM"}
Here is my pip list:
Babel (0.9.6)
> cffi (1.7.0)
> coverage (4.2)
> cryptography (1.5)
> docutils (0.11)
> enum34 (1.1.6)
> funcsigs (1.0.2)
> functools32 (3.2.3-2)
> future (0.15.2)
> gtextfsm (0.2.1)
> idna (2.1)
> ipaddress (1.0.16)
> Jinja2 (2.8)
> jsonschema (2.5.1)
> junos-eznc (1.3.1)
> lxml (3.6.4)
> MarkupSafe (0.11)
> mock (2.0.0)
> ncclient (0.5.2)
> netaddr (0.7.18)
> netmiko (0.5.6)
> nose (1.3.0)
> ntc-ansible (0.1.0)
> paramiko (2.0.2)
> pbr (1.10.0)
> pip (8.1.2)
> pyasn1 (0.1.9)
> pycparser (2.14)
> pyeapi (0.6.1)
> Pygments (1.5)
> pyntc (0.0.3)
> pynxos (0.0.3)
> PyYAML (3.12)
> requests (2.11.1)
> scp (0.10.2)
> setuptools (26.1.1)
> simplejson (3.2.0)
> six (1.10.0)
> Sphinx (1.1.3)
> SQLAlchemy (0.7.9)
> terminal (0.4.0)
> textfsm (0.2.1)
> virtualenv (13.1.0)
> Werkzeug (0.8.3)
> wheel (0.24.0)
---
- name: TEST2
hosts: cisco_group
connection: local
gather_facts: false
tasks:
- name: GET SH IP INT BRIEF
ntc_show_command:
connection: ssh
template_dir: /home/user/ntc-ansible/ntc-templates/templates/
platform: cisco_ios
command: show ip interface brief
host: "{{ inventory_hostname }}"
username: account
password: passwd
I am running RHEL 6 with Python 2.7.8. I am invoking my playbook as normal
like this:
anisble-playbook cisco.yml -u user -k -v
My inventory file is being derived from *.ansible.cfg. *Any thoughts on why
it continues to complain that *textfsm *isn't available when I run my
playbook?
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/db98a842-bac4-4b79-91b7-4ef8e8216e8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.