For example, 

show interface status
show version 
show ip route 

how can a module be written in Ansible to prompt user for the show command 
to type in when running a playbook. If entered one command (show interface 
status) and matched, print the output and ignore the rest other commands. 
If no match found, print default msg : "command not found" or  something 
like that. 

I am noob to Ansible. 

Thanks for your help!


-- 
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/c34d904d-0bcb-4226-beda-cb67ba3693acn%40googlegroups.com.

Reply via email to