title: Not able to print output
body: <p>I want to print storage filer version output generated by the <code>na_ontap_command</code> module using ansible-playbooks.</p>
  
  <p>I tried to register the result in a variable and print it using a debug message, but I am getting error.</p>
  
  <pre><code>`---
  - hosts: localhost
    name: run ontap cli command
    gather_facts: no
    connection: local
    vars_files:
    - var_file.yml
    tasks:
    - name: run ontap cli command
      na_ontap_command:
        command: ['version']
        https: true
        validate_certs: false
        hostname: "{{ hostname }}"
        username: "{{ username }}"
        password: "{{ password }}"
      register: command_result
    - debug:
        var: command_result.stdout_lines
  `
  </code></pre>
  
  <p>My playbook should return the version of the storage filer <code>NetApp Release 9.1P8</code></p>
  
  <p>This is the debug I am getting:</p>
  
  <blockquote>
  <pre><code>&gt;TASK [debug] ***********************************************************************************************************************************************************************************************************
  ok: [localhost] =&gt; {
      "command_result.stdout_lines": "VARIABLE IS NOT DEFINED!"
  }
  </code></pre>
  </blockquote>