Re: [ansible-project] Ansible Without Python?

2021-02-24 Thread Wei-Yen Tan
_ From: ansible-project@googlegroups.com on behalf of Jean-Yves LENHOF Sent: Thursday, February 25, 2021 9:38:02 AM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] Ansible Without Python? Le 24/02/2021 à 21:21, Wei-Yen Tan a écrit : Well on the client side you can r

Re: [ansible-project] Ansible Without Python?

2021-02-24 Thread Sam Doran
.@googlegroups.com > *Subject:* Re: [ansible-project] Ansible Without Python? > > Hi, > > There's part of the code that run on the controller, but also on the > client. > > Today you can run the same ansible code on unix and linux server because > the python binary

Re: [ansible-project] Ansible Without Python?

2021-02-24 Thread Jean-Yves LENHOF
Le 24/02/2021 à 21:21, Wei-Yen Tan a écrit : Well on the client side you can run any language. Ansible uses the shebang on the task module to execute the script. I have even written a custom module that runs powershell on a linux client. You could run bash. As long as you output json object  

Re: [ansible-project] Ansible Without Python?

2021-02-24 Thread Wei-Yen Tan
. Get Outlook for iOS<https://aka.ms/o0ukef> From: ansible-project@googlegroups.com on behalf of Jean-Yves LENHOF Sent: Thursday, February 25, 2021 9:16:57 AM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] Ansible Without Python? Hi, T

Re: [ansible-project] Ansible Without Python?

2021-02-24 Thread Jean-Yves LENHOF
Hi, There's part of the code that run on the controller, but also on the client. Today you can run the same ansible code on unix and linux server because the python binary is the one used on the client side, if using a compiled language you need to have all the binary version of all your

Re: [ansible-project] Ansible Without Python?

2021-02-24 Thread Wei-Yen Tan
<https://aka.ms/o0ukef> From: ansible-project@googlegroups.com on behalf of Jon Forrest Sent: Thursday, February 25, 2021 8:33:16 AM To: ansible-project@googlegroups.com Subject: [ansible-project] Ansible Without Python? I had a radical thought the other day.

[ansible-project] Ansible Without Python?

2021-02-24 Thread Jon Forrest
I had a radical thought the other day. Would it be possible to replace Python as the language used by Ansible with a compiled language, perhaps Go because of its fast compile and link speed? Note that I'm not talking about something like the existing Ansible shell module, which is only useful in