From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 19 09:12:57 2015 Received: (at 22196) by debbugs.gnu.org; 19 Dec 2015 14:12:57 +0000 Received: from localhost ([127.0.0.1]:56385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAIFk-0001cG-VA for submit@debbugs.gnu.org; Sat, 19 Dec 2015 09:12:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54289) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAIFi-0001c4-U3 for 22196@debbugs.gnu.org; Sat, 19 Dec 2015 09:12:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAIFa-0002VV-LY for 22196@debbugs.gnu.org; Sat, 19 Dec 2015 09:12:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAIFa-0002VR-IB; Sat, 19 Dec 2015 09:12:46 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:44222 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aAIFa-0007Gg-0K; Sat, 19 Dec 2015 09:12:46 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Al McElrath Subject: Re: bug#22196: Ansible, python executable on remote host References: <87vb7w3jft.fsf@atonesir.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Frimaire an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 19 Dec 2015 15:12:44 +0100 In-Reply-To: <87vb7w3jft.fsf@atonesir.com> (Al McElrath's message of "Thu, 17 Dec 2015 12:32:22 -0800") Message-ID: <87oadmzfvn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22196 Cc: 22196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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.