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…