as far as I know is to speed up the process instead of doing the work from another location, it copies the files locally and runs the scripts.
On Fri, Aug 10, 2018 at 7:22 AM Niko <[email protected]> wrote: > Thanks a lot. I understood the differences and we don't need python for > managed nodes when we user network modules. > > Just my curiosity, in case of Linux, what is the benefits of copying and > executing python codes on Linux hosts? > It supposed that ansible can manage non-network nodes such a Linux hosts > like network nodes(local execution), but is this reasonable idea? > > 2018年8月10日金曜日 19時53分27秒 UTC+9 Jonathan Lozada De La Matta: >> >> checkout this blog >> https://www.ansible.com/blog/coming-soon-networking-features-in-ansible-2.5 >> and https://docs.ansible.com/ansible/latest/network/index.html >> >> They are all correct. Its just done different for networking. >> >> On Fri, Aug 10, 2018 at 6:50 AM Niko <[email protected]> wrote: >> >>> ## Question >>> >>> - Could we use network modules(such a ios_command) on the network nodes >>> that cannot execute python? >>> >>> ## Purpose >>> >>> - I want to manage the network nodes(cisco) that do not have python by >>> ansible playbook. >>> ex. "ios_command: show version", >>> "using NAPALM<https://github.com/napalm-automation/napalm>", >>> ...etc >>> >>> ## Details >>> >>> - In the official documents say we need python2 or python3 as follows. >>> < >>> https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#managed-node-requirements >>> > >>> >>> - On the otherhand, following "Execution on the Control Node" chapter >>> supposed to mentioned we don't need python for managed nodes in case of >>> using network modules. >>> < >>> https://docs.ansible.com/ansible/latest/network/getting_started/network_differences.html >>> > >>> >>> - I wonder which documentation is correct. So I want to understand >>> accurate requirements of managed node especially python execution. >>> >>> Thanks, >>> Niko. >>> >>> -- >>> 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 post to this group, send email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/604583d7-5b4f-43ae-a2f4-9d0dd763b458%40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/604583d7-5b4f-43ae-a2f4-9d0dd763b458%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> >> Jonathan lozada de la matta >> >> AUTOMATION CONSULTANT - AUTOMATION PRACTICE >> >> Red Hat Consulting Services <https://www.redhat.com/> >> >> [email protected] >> >> >> >> >> -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/bb7ca520-b8c6-48e9-be84-95e980f73428%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/bb7ca520-b8c6-48e9-be84-95e980f73428%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jonathan lozada de la matta AUTOMATION CONSULTANT - AUTOMATION PRACTICE Red Hat Consulting Services <https://www.redhat.com/> [email protected] -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKAsj7E70ANP_iU_UL5CeEfOGpk-A_-2mycS7gqdWuKjQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
