Tuesday, December 4, 2018

Trying to pull show run from multiple routers using Ansible but script fails

Link to playbook

I keep getting the following error message:

netpy@netpy-VirtualBox:~$ ansible-playbook getrun.yml -u netpy -k SSH password: ERROR! no action detected in task The error appears to have been in '/home/netpy/getrun.yml': line 7, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: show run ^ here 

It seems to be a syntactical issue but I don't see the error in my syntax after reading the Ansible documentation on "ios_command"

Can someone please help me out?



No comments:

Post a Comment