Thansks for the anwser. I will thus create my own module with a list of possible task (parsing show mac-address table,...) to return some json objects. However I'd like to kown if the output of module's can be print into a file, I saw a lot of message stating to set debug but only with stdout. Is that possible ?
Le jeudi 11 septembre 2014 14:04:12 UTC+2, Michael DeHaan a écrit : > > Hi Maxime, > > Ciscos are problematic to manage because APIs are only starting to develop > to some of their hardware with OnePK, so strong modules for Ansible don't > really exist yet. > > You can definitely use the "raw" command to some extent I believe, which > would be easy to try out, though it's only using a small piece of Ansible, > it may be enough to get what you want. > > For basic command running and output it will be able to do that. > > --Michael > > > > On Thu, Sep 11, 2014 at 3:51 AM, <maxime...@ingesup.com <javascript:>> > wrote: > >> Hello, >> >> I find out about this amazing project that is ansible and was wondering >> one important thing. >> I understood that ansible is driven to configuration automation. Is >> ansible also able to run some command on Cisco device, especially show >> command and process the output of those command ? >> >> This would be great to have the possibilty to play a playbook with >> several task as show command and output the result on stdout or file. >> >> 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 ansible-proje...@googlegroups.com <javascript:>. >> To post to this group, send email to ansible...@googlegroups.com >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/a54e7d02-4243-42e9-9d39-d12ecb274209%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/a54e7d02-4243-42e9-9d39-d12ecb274209%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c22ee42d-7cf3-4550-88dd-8372052d1a74%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.