Yes, it is hardcoded in the first line

% head /usr/share/ansible/system/ping

gives

#!/usr/bin/python2
# -*- coding: utf-8 -*-


# (c) 2012, Michael DeHaan <[email protected]>
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or

I will try to understand why it has been packaged this way.

Thanks



Il giorno martedì 4 marzo 2014 16:35:07 UTC+1, Michael DeHaan ha scritto:
>
> This looks like you might have ansible_python_interpreterer set to 
> /usr/bin/python2 somewhere else in the system, or else, the maintainer of 
> your package applied a nasty patch that hardcoded /usr/bin/python2 at the 
> top of the file in the source to the ping module.
>
> They should not do this because you can set ansible_python_interpreter on 
> a per host basis, and this would mean that Arch installs could only manage 
> Arch, which would be very wrong.
>
> Can you look at the source in library/system/ping and tell me what the top 
> (shebang) line is?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e65cf499-972b-4f0b-afcc-41fb0f57e63d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to