From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22196: Ansible, python executable on remote host Date: Sat, 19 Dec 2015 15:12:44 +0100 Message-ID: <87oadmzfvn.fsf@gnu.org> References: <87vb7w3jft.fsf@atonesir.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAIFs-0006aI-Dk for bug-guix@gnu.org; Sat, 19 Dec 2015 09:13:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAIFq-0002WV-Mx for bug-guix@gnu.org; Sat, 19 Dec 2015 09:13:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAIFq-0002WQ-JY for bug-guix@gnu.org; Sat, 19 Dec 2015 09:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aAIFq-0001cZ-DW for bug-guix@gnu.org; Sat, 19 Dec 2015 09:13:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87vb7w3jft.fsf@atonesir.com> (Al McElrath's message of "Thu, 17 Dec 2015 12:32:22 -0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Al McElrath Cc: 22196@debbugs.gnu.org Hi! Al McElrath skribis: > I had some trouble with ansible that I'd like to share. I believe it > tries to use the same path to the python executable on the remote host > as exists locally, which is problematic for guix: > > '/bin/sh: 1: /gnu/store/5isi4xqg1jr5rqbr6pfap28fw5116dnr-python-2.7.10/bi= n/python: not found' Oops, indeed. > workaround in the form of a setting to specify the remote python path, > "ansible_python_interpreter": > > http://docs.ansible.com/ansible/intro_inventory.html#list-of-behavioral-i= nventory-parameters > > Not quite a bug, but maybe this will help someone else. I=E2=80=99m guessing we could at least change the default value. Would it = be possible to set the default value of =E2=80=98ansible_python_interpreter=E2= =80=99 to just =E2=80=98python=E2=80=99, hoping that it will be searched for in $PATH= on the remote host? Sounds like the most viable option. Thanks for your report! Ludo=E2=80=99.