I need help to run write ansible playbook to run show commands on Cisco Starent devices
ansible@denchpw26:~$ sudo nano CiscoCheck_playbook.ymlCSR, -u a
ansible@denchpw26:~$ clear
ansible@denchpw26:~$ ansible-playbook -i all, -u ansible -k -e ansible_network_os=ios CiscoCheck_playbook.yml
SSH password:
[WARNING]: Found both group and host with same name: all
ERROR! Syntax Error while loading YAML.
mapping values are not allowed in this context
The error appears to have been in '/home/ansible/CiscoCheck_playbook.yml': line 3, column 8, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Run Show Command
^ here