root@jmpnet:/etc/ansible# ansible-playbook test-asa.yml
ERROR! 'debug' is not a valid attribute for a Play

The error appears to be in '/etc/ansible/test-asa.yml': line 15, column 3, 
but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- debug: var=output.stdout_lines
  ^ here


==============================


- name: show version for ASA
  hosts: TEST_ASA
  gather_facts: false
  connection: network_cli
  user: test
  tasks:
         - name: Show version
           asa_command:
                   commands:
                           - show version
           register: output

- debug: var=output.stdout_lines

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bdf60d96-d88b-410b-83fe-5f1964f2b63c%40googlegroups.com.

Reply via email to