GNU bug report logs -
#22196
Ansible, python executable on remote host
Previous Next
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.
Full log
Message #8 received at 22196 <at> debbugs.gnu.org (full text, mbox):
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’.
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.