Hi,

I am having an issue to send nxos_command. I am able to test "show version" 
using NX-API Developer Sanbox, but couldn't 
access  "http://10.2.100.100:80/ins"; in browser. Here are the error and 
configuration information.

>ansible -m nxos_command -a "host=10.2.100.100 username=admin 
password=password commands='show version' transport=nxapi use_ssl=no" 
localhost --connection local
localhost | FAILED! => {
    "changed": false,
    "failed": true,
    "msg": "Connection failure: timed out",
    "status": -1,
    "url": "http://10.2.100.100:80/ins";
}

#show feature | inc nxapi
nxapi                  1          enabled

>ansible --version
ansible 2.1.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides

Software
  BIOS: version 07.17
  NXOS: version 7.0(3)I2(2b)
  BIOS compile time:  09/10/2014
  NXOS image file is: bootflash:///nxos.7.0.3.I2.2b.bin
  NXOS compile time:  2/28/2016 21:00:00 [02/29/2016 05:21:45]


Hardware
  cisco Nexus9000 C9396PX Chassis

Thanks,
Lisa

-- 
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/5c2449bf-8082-4832-a245-e456e7d542e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to