From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al McElrath Subject: bug#22196: Ansible, python executable on remote host Date: Thu, 17 Dec 2015 12:32:22 -0800 Message-ID: <87vb7w3jft.fsf@atonesir.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9fGT-0000Y6-NT for bug-guix@gnu.org; Thu, 17 Dec 2015 15:35:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9fGQ-000857-HX for bug-guix@gnu.org; Thu, 17 Dec 2015 15:35:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9fGQ-000852-E0 for bug-guix@gnu.org; Thu, 17 Dec 2015 15:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a9fGQ-0000Vo-BS for bug-guix@gnu.org; Thu, 17 Dec 2015 15:35:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9fE2-0005aq-Ux for bug-guix@gnu.org; Thu, 17 Dec 2015 15:32:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9fDz-0007d8-JO for bug-guix@gnu.org; Thu, 17 Dec 2015 15:32:34 -0500 Received: from atonesir.com ([23.239.4.175]:36271 helo=mail.atonesir.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9fDz-0007bD-DZ for bug-guix@gnu.org; Thu, 17 Dec 2015 15:32:31 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.atonesir.com (Postfix) with ESMTPSA id B7621220E5 for ; Thu, 17 Dec 2015 20:32:22 +0000 (UTC) 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: 22196@debbugs.gnu.org Hi, 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/bin/python: not found' I imagine this can be a problem for non-guix users too, and there's a 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-inventory-parameters Not quite a bug, but maybe this will help someone else.