On 16. aug. 2017 04:24, Sunil6057 wrote:
i tried
---
- hosts: testleafs
   gather_facts: no
   connection: local

   tasks:
     - name: return show commands output
       nxos_command:
         commands:
           - show version
           - show running-config
         host: "{{ inventory_hostname }}"
         username: sssss
         password: Satnum
       register: output

     - debug: var=output

Same issue....

It can't be the same issue since you have changed your code.

So we can't make this a guessing game, you need to provide more information like the output including the error message (as Adrian already have indicated).

So what is you error message now?


--
Kai Stian Olstad

--
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/659cc0b5-5445-15fa-9351-56d62662edef%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to