News for hackers. Stuff that matters.
Re:Command execution on Ansible controller from host by mkesper on Thursday January 12, 2017 @05:14AM (#13381171)
Step 1: Install the expected, dedicated Python interpreter as /usr/bin/ansible_python.
Re:Command execution on Ansible controller from host by holmb on Thursday January 12, 2017 @05:57AM (#13381324)
Python is not just a single executable. It takes a little more work than one would want. And for what gain? Would you be fine with other software also requiring a custom interpreter to function? It gets cumbersome.
Re:Command execution on Ansible controller from host by mkesper on Thursday January 12, 2017 @10:57AM (#13383206)
If you rely on the system-wide Python you'll need to cover different versions and you need to make sure not to use any 3rd party modules.
Re:Command execution on Ansible controller from host by icebraining on Thursday January 12, 2017 @12:01PM (#13383908)
Ansible ships its own libraries, generally.
Re:Command execution on Ansible controller from host by jubalfh on Thursday January 12, 2017 @09:15AM (#13382303)
Incredibly. But it seems to be The Ruby Way™…
Re:Command execution on Ansible controller from host by jubalfh on Thursday January 12, 2017 @09:17AM (#13382324)
Well, it's an agent-less system after all, the idea is to keep the system lean.