GNU bug report logs - #22196
Ansible, python executable on remote host

Previous Next

Package: guix;

Reported by: Al McElrath <hello <at> atonesir.com>

Date: Thu, 17 Dec 2015 20:35:02 UTC

Severity: normal

Tags: moreinfo

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22196 in the body.
You can then email your comments to 22196 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#22196; Package guix. (Thu, 17 Dec 2015 20:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Al McElrath <hello <at> atonesir.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 17 Dec 2015 20:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Al McElrath <hello <at> atonesir.com>
To: bug-guix <at> gnu.org
Subject: Ansible, python executable on remote host
Date: Thu, 17 Dec 2015 12:32:22 -0800
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.




Information forwarded to bug-guix <at> gnu.org:
bug#22196; Package guix. (Sat, 19 Dec 2015 14:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 22196 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Al McElrath <hello <at> atonesir.com>
Cc: 22196 <at> debbugs.gnu.org
Subject: Re: bug#22196: Ansible, python executable on remote host
Date: Sat, 19 Dec 2015 15:12:44 +0100
Hi!

Al McElrath <hello <at> atonesir.com> 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/bin/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-inventory-parameters
>
> Not quite a bug, but maybe this will help someone else.

I’m guessing we could at least change the default value.  Would it be
possible to set the default value of ‘ansible_python_interpreter’ to
just ‘python’, hoping that it will be searched for in $PATH on the
remote host?

Sounds like the most viable option.

Thanks for your report!

Ludo’.




Added tag(s) moreinfo. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 03 May 2016 20:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#22196; Package guix. (Tue, 12 Nov 2019 20:54:02 GMT) Full text and rfc822 format available.

Message #13 received at 22196 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 22196 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>, 
 hello <at> atonesir.com
Subject: Bug #22196 Hunting: status?
Date: Tue, 12 Nov 2019 21:52:53 +0100
Dear,

This bug was reported more than 3 years ago and it is tagged "moreinfo".

Does it still apply?
If yes, any progress to report?
If no, does it make sense to close it?

Thanks in advance for any comments.

All the best,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#22196; Package guix. (Wed, 20 Nov 2019 18:39:01 GMT) Full text and rfc822 format available.

Message #16 received at 22196 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 22196 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>, 
 hello <at> atonesir.com
Subject: Bug #22196 Hunting: Ansible: python executable on remote host
Date: Wed, 20 Nov 2019 19:38:36 +0100
Hi,

Ludo wrote [1]:

<<
I’m guessing we could at least change the default value.  Would it be
possible to set the default value of ‘ansible_python_interpreter’ to
just ‘python’, hoping that it will be searched for in $PATH on the
remote host?
>>

[1] http://issues.guix.gnu.org/issue/22196


I do not see any relative thing in the definition of the package
ansible (admin.scm).

Is it useful for general practise of Ansible?
Or is it specific to one particular usage? In such case, the tip [2]
could be reported in the manual or cookbook.

[2] http://docs.ansible.com/ansible/intro_inventory.html#list-of-behavioral-inventory-parameters


What do you think is the best to close this long standing bug?


All the best,
simon




Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Mon, 02 Dec 2019 17:41:02 GMT) Full text and rfc822 format available.

Notification sent to Al McElrath <hello <at> atonesir.com>:
bug acknowledged by developer. (Mon, 02 Dec 2019 17:41:02 GMT) Full text and rfc822 format available.

Message #21 received at 22196-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 22196-done <at> debbugs.gnu.org
Subject: Re: bug#22196: Bug #22196 Hunting: Ansible: python executable on
 remote host
Date: Mon, 2 Dec 2019 18:40:29 +0100
Dear,

On Wed, 20 Nov 2019 at 19:39, zimoun <zimon.toutoune <at> gmail.com> wrote:

> What do you think is the best to close this long standing bug?

This wish has bee opened almost 4 years ago. The report proposes a tip
with Ansible on remote host. Because it is not Guix specific and the
current default value seems enough, we close this bug.

All the best,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 Dec 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.