On 14. aug. 2017 20:36, Sunil6057 wrote:
---

- name: Save running config to file (NXOS)
   hosts: testleafs
   gather_facts: no
   connection: local

   tasks:
     - name: VER
       nxos_command:
         commands: show version
         host: "[[ inventory_homename }}"

You should probably try with the correct brackets.


--
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/76e21f13-8ce0-7e93-2f0b-415be56f01db%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to