When I run my playbook i'm getting the following:

 ansible-playbook asa-config1-test.yml
ERROR! Syntax Error while loading YAML.


The error appears to have been in 
'/home/andrew.meyer/playbooks/asa-config1-test.yml': line 11, column 16, 
but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

 name: test
  - asa_command:
               ^ here


cat asa-config1-test.yml
 vars:
   cli:
     host: 10.150.1.1
     username: "{{ username }}"
     password: "{{ password }}"
     authorize: yes
     auth_pass: "{{ password }}"
     transport: cli

 name: test
  - asa_command:
      commands:
        - show version
        - show run
        - show memory
      provider: "{{ connections.ssh }}"
      context: system


Not sure why it is failing....

-- 
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/e065ae1c-1a57-4963-881e-d1fbe9135f7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to